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
| Edit this page View SourceCoordinate
Gets a value indicating the location of the repeated point
Declaration
public Coordinate Coordinate { get; }
Property Value
| Type | Description |
|---|---|
| Coordinate |
Methods
| Edit this page View SourceHasRepeatedPoint(CoordinateSequence)
Checks if an array of Coordinates has a repeated point
Declaration
public bool HasRepeatedPoint(CoordinateSequence sequence)
Parameters
| Type | Name | Description |
|---|---|---|
| CoordinateSequence | sequence | A coordinate sequence |
Returns
| Type | Description |
|---|---|
| bool |
|
HasRepeatedPoint(Coordinate[])
Checks if an array of Coordinates has a repeated point
Declaration
public bool HasRepeatedPoint(Coordinate[] coord)
Parameters
| Type | Name | Description |
|---|---|---|
| Coordinate[] | coord | An array of coordinates |
Returns
| Type | Description |
|---|---|
| bool |
|
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 |
|---|---|
| bool |
|