You are here: Start » AVL.NET » Invoke.PointsBoundingRectangle_FixedAngle_OrNil

Invoke.PointsBoundingRectangle_FixedAngle_OrNil

Computes the smallest rectangle with the given orientation angle containing an array of points; returns NIL when the array is empty.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void PointsBoundingRectangle_FixedAngle_OrNil
(
	List<Avl.Point2D> inPoints,
	float inAngle,
	Conditional<Avl.Rectangle2D> outBoundingRectangle,
	Conditional<Avl.Point2D> outCenter,
	Conditional<float> outLongSide,
	Conditional<float> outShortSide
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.List<Avl.Point2D>Input array of points.
inAnglefloatExpected angle of the resulting rectangle.
outBoundingRectangleAtl.Conditional<Avl.Rectangle2D>Smallest bounding rectangle of the input points.
outCenterAtl.Conditional<Avl.Point2D>Center of the bounding rectangle.
outLongSideAtl.Conditional<float>Length of the bounding rectangle long side.
outShortSideAtl.Conditional<float>Length of the bounding rectangle short side.

See also