Get bounding rectangle of the specified list of points.

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

Syntax

C#
public static void GetBoundingRectangle(
	IEnumerable<IntPoint> cloud,
	out IntPoint minXY,
	out IntPoint maxXY
)

Parameters

cloud
Type: System.Collections.Generic..::.IEnumerable<(Of <(IntPoint>)>)
Collection of points to get bounding rectangle for.
minXY
Type: AForge..::.IntPoint %
Point comprised of smallest X and Y coordinates.
maxXY
Type: AForge..::.IntPoint %
Point comprised of biggest X and Y coordinates.

See Also