Package org.locationtech.jts.jump.geom
Class GeometryFactoryUtil
- java.lang.Object
-
- org.locationtech.jts.jump.geom.GeometryFactoryUtil
-
public class GeometryFactoryUtil extends Object
Some utility functions not present in the JTS version of this class
-
-
Constructor Summary
Constructors Constructor Description GeometryFactoryUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Geometry
buildGeometry(org.locationtech.jts.geom.Geometry geom, int dimension)
Builds a geometry containing only the element geometries from the input list which have the requested dimension.static List
dimensionFilter(org.locationtech.jts.geom.GeometryCollection gc, int dimension)
static org.locationtech.jts.geom.Geometry
getEmptyDimensionalGeometry(org.locationtech.jts.geom.GeometryFactory factory, int dimension)
-
-
-
Method Detail
-
buildGeometry
public static org.locationtech.jts.geom.Geometry buildGeometry(org.locationtech.jts.geom.Geometry geom, int dimension)
Builds a geometry containing only the element geometries from the input list which have the requested dimension. The result is thus guaranteed to have the dimension requested.- Parameters:
geomList
-dimension
-
-
dimensionFilter
public static List dimensionFilter(org.locationtech.jts.geom.GeometryCollection gc, int dimension)
-
getEmptyDimensionalGeometry
public static org.locationtech.jts.geom.Geometry getEmptyDimensionalGeometry(org.locationtech.jts.geom.GeometryFactory factory, int dimension)
-
-