CoincidentAndTerminate
Namespace: Digi21.DigiNG.Entities.Relations
Assembly: Digi21.DigiNG
Indicates whether the point coincides with a line endpoint.

public static bool CoincidentAndTerminate(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 the first or last line vertex.
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.