public class PreparedGeometryFactory extends Object
PreparedGeometry
s.
It chooses an appropriate implementation of PreparedGeometry
based on the geometric type of the input geometry.
In the future, the factory may accept hints that indicate special optimizations which can be performed.
Instances of this class are thread-safe.
Constructor and Description |
---|
PreparedGeometryFactory() |
Modifier and Type | Method and Description |
---|---|
PreparedGeometry |
create(Geometry geom)
Creates a new
PreparedGeometry appropriate for the argument Geometry . |
static PreparedGeometry |
prepare(Geometry geom)
Creates a new
PreparedGeometry appropriate for the argument Geometry . |
public static PreparedGeometry prepare(Geometry geom)
PreparedGeometry
appropriate for the argument Geometry
.geom
- the geometry to preparepublic PreparedGeometry create(Geometry geom)
PreparedGeometry
appropriate for the argument Geometry
.geom
- the geometry to prepareCopyright © 2020. All rights reserved.