Table of Contents

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

Coordinate

Methods

HasRepeatedPoint(CoordinateSequence)

Checks if an array of Coordinates has a repeated point

public bool HasRepeatedPoint(CoordinateSequence sequence)

Parameters

sequence CoordinateSequence

A coordinate sequence

Returns

bool

true if sequence has a repeated point, otherwise false

HasRepeatedPoint(Coordinate[])

Checks if an array of Coordinates has a repeated point

public bool HasRepeatedPoint(Coordinate[] coord)

Parameters

coord Coordinate[]

An array of coordinates

Returns

bool

true if coord has a repeated point, otherwise false

HasRepeatedPoint(Geometry)

Checks if a geometry has a repeated point

public bool HasRepeatedPoint(Geometry g)

Parameters

g Geometry

The geometry to test

Returns

bool

true if the geometry has a repeated point, otherwise false