Disjoint
Namespace: Digi21.DigiNG.Entities.Relations
Assembly: Digi21.DigiNG
Indicates whether the two points are disjoint.

public static bool Disjoint(ReadOnlyPoint a, ReadOnlyPoint b)
| Parameter | Description |
|---|---|
a |
First point, of type ReadOnlyPoint. |
b |
Second point. |
Return value
true if the two points have different X or Y coordinates. The result of Disjoint(a, b) is the opposite of Coincident(a, b).
If either point is a Point created in memory, the method always returns true; see the note in PointPoint.
Exceptions
| Exception | When |
|---|---|
ArgumentNullException |
a or b is null. |
Example
See the PointPoint example.