Class RepeatedPointTester
Implements the appropriate checks for repeated points (consecutive identical coordinates) as defined in the NTS spec.
Inherited Members
Namespace: NetTopologySuite.Operation.Valid
Assembly: NetTopologySuite.dll
Syntax
public class RepeatedPointTester
Properties
| Improve this Doc View SourceCoordinate
Gets a value indicating the location of the repeated point
Declaration
public Coordinate Coordinate { get; }
Property Value
Type | Description |
---|---|
Coordinate |
Methods
| Improve this Doc View SourceHasRepeatedPoint(Coordinate[])
Checks if an array of Coordinate
s has a repeated point
Declaration
public bool HasRepeatedPoint(Coordinate[] coord)
Parameters
Type | Name | Description |
---|---|---|
Coordinate[] | coord | An array of coordinates |
Returns
Type | Description |
---|---|
Boolean |
|
HasRepeatedPoint(CoordinateSequence)
Checks if an array of Coordinate
s has a repeated point
Declaration
public bool HasRepeatedPoint(CoordinateSequence sequence)
Parameters
Type | Name | Description |
---|---|---|
CoordinateSequence | sequence | A coordinate sequence |
Returns
Type | Description |
---|---|
Boolean |
|
HasRepeatedPoint(Geometry)
Checks if a geometry has a repeated point
Declaration
public bool HasRepeatedPoint(Geometry g)
Parameters
Type | Name | Description |
---|---|---|
Geometry | g | The geometry to test |
Returns
Type | Description |
---|---|
Boolean |
|