Examples of BBOX3DImpl


Examples of org.geotools.filter.spatial.BBOX3DImpl

    @Test
    public void testBBox3D() throws Exception {
      BBOX bbox = ff.bbox("location", new ReferencedEnvelope3D(0, 10, 20, 50, 60, 70, null));
     
      assertTrue(bbox instanceof BBOX3DImpl);
      BBOX3DImpl bbox3d = (BBOX3DImpl) bbox;
     
      Filter unrolled = (Filter) bbox.accept(visitor, null);
     
      assertTrue(unrolled instanceof BBOX3DImpl);
      BBOX3DImpl unrolled3d = (BBOX3DImpl) unrolled;
      assertEquals(bbox3d.getMinX(), unrolled3d.getMinX(), 0.0);
      assertEquals(bbox3d.getMaxX(), unrolled3d.getMaxX(), 0.0);
      assertEquals(bbox3d.getMinY(), unrolled3d.getMinY(), 0.0);
      assertEquals(bbox3d.getMaxY(), unrolled3d.getMaxY(), 0.0);
      assertEquals(bbox3d.getMinZ(), unrolled3d.getMinZ(), 0.0);
      assertEquals(bbox3d.getMaxZ(), unrolled3d.getMaxZ(), 0.0);
     
    }
View Full Code Here

Examples of org.geotools.filter.spatial.BBOX3DImpl

        }
        else {
            throw new IllegalArgumentException();
        }
       
        return new BBOX3DImpl(name, new ReferencedEnvelope3D(env), this)
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.