Click or drag to resize

ClipperPointsNearEqual Method

Determines whether two floating-point points are within a squared distance threshold.

Namespace: Clipper2Lib
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static bool PointsNearEqual(
	PointD pt1,
	PointD pt2,
	double distanceSqrd
)

Parameters

pt1  PointD
The first point.
pt2  PointD
The second point.
distanceSqrd  Double
The squared distance threshold.

Return Value

Boolean
if the points are within the threshold; otherwise, .
See Also