FPointClosestPoint Method

Return the closest point to the check-point.

Definition

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

Parameters

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

Return Value

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

See Also