com.vividsolutions.jump.geom
Class GeometryFactoryUtil

java.lang.Object
  extended by com.vividsolutions.jump.geom.GeometryFactoryUtil

public class GeometryFactoryUtil
extends java.lang.Object

Some utility functions not present in the JTS version of this class


Constructor Summary
GeometryFactoryUtil()
           
 
Method Summary
static com.vividsolutions.jts.geom.Geometry buildGeometry(com.vividsolutions.jts.geom.Geometry geom, int dimension)
          Builds a geometry containing only the element geometries from the input list which have the requested dimension.
static java.util.List dimensionFilter(com.vividsolutions.jts.geom.GeometryCollection gc, int dimension)
           
static com.vividsolutions.jts.geom.Geometry getEmptyDimensionalGeometry(com.vividsolutions.jts.geom.GeometryFactory factory, int dimension)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryFactoryUtil

public GeometryFactoryUtil()
Method Detail

buildGeometry

public static com.vividsolutions.jts.geom.Geometry buildGeometry(com.vividsolutions.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 java.util.List dimensionFilter(com.vividsolutions.jts.geom.GeometryCollection gc,
                                             int dimension)

getEmptyDimensionalGeometry

public static com.vividsolutions.jts.geom.Geometry getEmptyDimensionalGeometry(com.vividsolutions.jts.geom.GeometryFactory factory,
                                                                               int dimension)