Disjoint
Namespace: Digi21.DigiNG.Entities.Relations
Assembly: Digi21.DigiNG
Indicates whether the point and area are disjoint.

public static bool Disjoint(ReadOnlyPoint point, ReadOnlyLine area)
public static bool Disjoint(ReadOnlyPoint point, ReadOnlyPolygon area)
| Parameter | Description |
|---|---|
point |
Point, of type ReadOnlyPoint. |
area |
Area: a closed ReadOnlyLine or a ReadOnlyPolygon. In the installed assembly, this parameter is named line or polygon. |
Return value
true if the point coincides with no area vertex (outer ring or holes) and is not inside the area. This is the opposite of Coincident(point, area) || Within(point, area).
The method returns true for a point outside the area, a point inside a polygon's hole and a point on an area edge that does not coincide with any vertex.
With a Point created in memory, the method always returns true; see the note in PointArea.
Exceptions
| Exception | When |
|---|---|
ArgumentNullException |
point or area is null. |
Example
See the PointArea example.