Class RepeatedPointTester
- Namespace
- NetTopologySuite.Operation.Valid
- Assembly
- NetTopologySuite.dll
Implements the appropriate checks for repeated points (consecutive identical coordinates) as defined in the NTS spec.
public class RepeatedPointTester
- Inheritance
-
RepeatedPointTester
- Inherited Members
Constructors
RepeatedPointTester()
public RepeatedPointTester()
Properties
Coordinate
Gets a value indicating the location of the repeated point
public Coordinate Coordinate { get; }
Property Value
Methods
HasRepeatedPoint(CoordinateSequence)
Checks if an array of Coordinates has a repeated point
public bool HasRepeatedPoint(CoordinateSequence sequence)
Parameters
sequenceCoordinateSequenceA coordinate sequence
Returns
- bool
trueifsequencehas a repeated point, otherwisefalse
HasRepeatedPoint(Coordinate[])
Checks if an array of Coordinates has a repeated point
public bool HasRepeatedPoint(Coordinate[] coord)
Parameters
coordCoordinate[]An array of coordinates
Returns
- bool
trueifcoordhas a repeated point, otherwisefalse
HasRepeatedPoint(Geometry)
Checks if a geometry has a repeated point
public bool HasRepeatedPoint(Geometry g)
Parameters
gGeometryThe geometry to test
Returns
- bool
trueif the geometry has a repeated point, otherwisefalse