Class PreparedGeometryFactory
A factory for creating IPreparedGeometrys. 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.Inherited Members
Namespace: NetTopologySuite.Geometries.Prepared
Assembly: NetTopologySuite.dll
Syntax
public class PreparedGeometryFactory
Methods
| Edit this page View SourceCreate(Geometry)
Creates a new IPreparedGeometry appropriate for the argument Geometry.
Declaration
public IPreparedGeometry Create(Geometry geom)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geom | The geometry to prepare |
Returns
| Type | Description |
|---|---|
| IPreparedGeometry | the prepared geometry |
Prepare(Geometry)
Creates a new IPreparedGeometry appropriate for the argument Geometry.
Declaration
public static IPreparedGeometry Prepare(Geometry geom)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geom | The geometry to prepare |
Returns
| Type | Description |
|---|---|
| IPreparedGeometry | the prepared geometry |