Coincident

Namespace: Digi21.DigiNG.Entities.Relations
Assembly: Digi21.DigiNG

Indicates whether the point coincides with an intermediate line vertex.

Point coincident with a line

public static bool Coincident(ReadOnlyPoint point, ReadOnlyLine line)
Parameter Description
point Point, of type ReadOnlyPoint.
line Line, of type ReadOnlyLine.

Return value

true if the point's coordinate coincides with a line vertex that is neither the first nor the last. If the point coincides with an endpoint, the method returns false and CoincidentAndTerminate returns true. With a two-vertex line, the method always returns false.

With a Point created in memory, the method always returns false; see the note in PointLine.

Exceptions

Exception When
ArgumentNullException point or line is null.

Example

See the PointLine example.