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 Coordinate
s has a repeated point
public bool HasRepeatedPoint(CoordinateSequence sequence)
Parameters
sequence
CoordinateSequenceA coordinate sequence
Returns
- bool
true
ifsequence
has a repeated point, otherwisefalse
HasRepeatedPoint(Coordinate[])
Checks if an array of Coordinate
s has a repeated point
public bool HasRepeatedPoint(Coordinate[] coord)
Parameters
coord
Coordinate[]An array of coordinates
Returns
- bool
true
ifcoord
has a repeated point, otherwisefalse
HasRepeatedPoint(Geometry)
Checks if a geometry has a repeated point
public bool HasRepeatedPoint(Geometry g)
Parameters
g
GeometryThe geometry to test
Returns
- bool
true
if the geometry has a repeated point, otherwisefalse