@Override public void queryEnvelope(Envelope env) { env.setEmpty(); if (m_description != env.m_description) env.assignVertexDescription(m_description); env.merge(this); }
@Override public void queryEnvelope(Envelope env) { env.setEmpty(); if (m_description != env.m_description) env.assignVertexDescription(m_description); env.merge(this); }
@Override public void queryEnvelope(Envelope env) { env.setEmpty(); env.assignVertexDescription(m_description); Envelope2D env2D = new Envelope2D(); queryEnvelope2D(env2D); env.setEnvelope2D(env2D); for (int i = 1, n = m_description.getAttributeCount(); i < n; i++) { int semantics = m_description.getSemantics(i); for (int iord = 0, nord = VertexDescription .getComponentCount(semantics); i < nord; i++) { Envelope1D interval = queryInterval(semantics, iord); env.setInterval(semantics, iord, interval); } } }
@Override public void queryEnvelope(Envelope env) { env.setEmpty(); env.assignVertexDescription(m_description); Envelope2D env2D = new Envelope2D(); queryEnvelope2D(env2D); env.setEnvelope2D(env2D); for (int i = 1, n = m_description.getAttributeCount(); i < n; i++) { int semantics = m_description.getSemantics(i); for (int iord = 0, nord = VertexDescription .getComponentCount(semantics); i < nord; i++) { Envelope1D interval = queryInterval(semantics, iord); env.setInterval(semantics, iord, interval); } } }
m_envelope = new Envelope(m_description); else m_envelope.assignVertexDescription(m_description);
m_envelope = new Envelope(m_description); else m_envelope.assignVertexDescription(m_description);