You are here: Start » AVL.NET » AVL.RegionBoundingRectangle(AvlNet.Region, AvlNet.BoundingRectangleFeature, AvlNet.Rectangle2D, AvlNet.Point2D, float, float)

AVL.RegionBoundingRectangle(AvlNet.Region, AvlNet.BoundingRectangleFeature, AvlNet.Rectangle2D, AvlNet.Point2D, float, float)

Computes the smallest rectangle containing a region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RegionBoundingRectangle(
	AvlNet.Region inRegion,
	AvlNet.BoundingRectangleFeature inBoundingRectangleFeature,
	out AvlNet.Rectangle2D outBoundingRectangle,
	out AvlNet.Point2D outCenter,
	out float outLongSide,
	out float outShortSide
)

Parameters

inRegion
Type: AvlNet.Region
Input array of points
inBoundingRectangleFeature
Type: AvlNet.BoundingRectangleFeature
Determines what kind of bounding rectangle will be computed
outBoundingRectangle
Type: AvlNet.Rectangle2D
The smallest bounding rectangle of the input region
outCenter
Type: AvlNet.Point2D
outLongSide
Type: System.Single
outShortSide
Type: System.Single

Remarks

See full override for more details.

See also