FPointClosestPoint(FPoint, ListFPoint) Method

Return the closest point to the check-point.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2714.4042
C#
public static FPoint ClosestPoint(
	FPoint checkPoint,
	List<FPoint> points
)

Parameters

checkPoint  FPoint
The check point to which the closest point in the list will be found.
points  ListFPoint
Reference to a list of points to be compared.

Return Value

FPoint
A point corresponding to the location of the closest point in the list.

See Also