Find furthest point from the specified point.

Namespace:  AForge.Math.Geometry
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static IntPoint GetFurthestPoint(
	IEnumerable<IntPoint> cloud,
	IntPoint referencePoint
)

Parameters

cloud
Type: System.Collections.Generic..::.IEnumerable<(Of <(IntPoint>)>)
Collection of points to search furthest point in.
referencePoint
Type: AForge..::.IntPoint
The point to search furthest point from.

Return Value

Returns a point, which is the furthest away from the referencePoint.

See Also