Disjoint

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

Indicates whether the point and line are disjoint.

Disjoint point and line

public static bool Disjoint(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 no line vertex, including endpoints. The method returns true if the point lies on a line edge without coinciding with any vertex.

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

Exceptions

Exception When
ArgumentNullException point or line is null.

Example

See the PointLine example.