Coincident

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

Indicates whether the two points are coincident.

Two coincident points

public static bool Coincident(ReadOnlyPoint a, ReadOnlyPoint b)
Parameter Description
a First point, of type ReadOnlyPoint.
b Second point.

Return value

true if the two points' X and Y coordinates are identical. The Z coordinate is not compared. See PointPoint for why the Precision.Epsilon tolerance does not apply and why a Point created in memory is never coincident.

Exceptions

Exception When
ArgumentNullException a or b is null.

Example

See the PointPoint example.