Class PreparedPoint
A prepared version for IPuntal geometries.
Instances of this class are thread-safe.
Implements
Inherited Members
Namespace: NetTopologySuite.Geometries.Prepared
Assembly: NetTopologySuite.dll
Syntax
public class PreparedPoint : BasicPreparedGeometry, IPreparedGeometry
Constructors
| Edit this page View SourcePreparedPoint(IPuntal)
Declaration
public PreparedPoint(IPuntal point)
Parameters
| Type | Name | Description |
|---|---|---|
| IPuntal | point |
Methods
| Edit this page View SourceIntersects(Geometry)
Tests whether this point intersects a Geometry.
Declaration
public override bool Intersects(Geometry g)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | g |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
Remarks
The optimization here is that computing topology for the test geometry is avoided. This can be significant for large geometries.