Package org.meteoinfo.jts.geom.prep
Class PreparedGeometryFactory
- java.lang.Object
-
- org.meteoinfo.jts.geom.prep.PreparedGeometryFactory
-
public class PreparedGeometryFactory extends java.lang.ObjectA factory for creatingPreparedGeometrys. It chooses an appropriate implementation of PreparedGeometry based on the geoemtric type of the input geometry.In the future, the factory may accept hints that indicate special optimizations which can be performed.
-
-
Constructor Summary
Constructors Constructor Description PreparedGeometryFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PreparedGeometrycreate(Geometry geom)Creates a newPreparedGeometryappropriate for the argumentGeometry.static PreparedGeometryprepare(Geometry geom)Creates a newPreparedGeometryappropriate for the argumentGeometry.
-
-
-
Method Detail
-
prepare
public static PreparedGeometry prepare(Geometry geom)
Creates a newPreparedGeometryappropriate for the argumentGeometry.- Parameters:
geom- the geometry to prepare- Returns:
- the prepared geometry
-
create
public PreparedGeometry create(Geometry geom)
Creates a newPreparedGeometryappropriate for the argumentGeometry.- Parameters:
geom- the geometry to prepare- Returns:
- the prepared geometry
-
-