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

Invoke.EllipseBoundingRectangle_FixedAngle

Computes the smallest rectangle with the given orientation angle containing an ellipse.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void EllipseBoundingRectangle_FixedAngle
(
	Avl.Ellipse2D inEllipse,
	float inAngle,
	out Avl.Rectangle2D outBoundingRectangle,
	Optional<Avl.Point2D> outCenter,
	Optional<float> outLongSide,
	Optional<float> outShortSide
)

Parameters

Name Type Range Default Description
inEllipseAvl.Ellipse2D
inAnglefloatExpected angle of the resulting rectangle.
outBoundingRectangleAvl.Rectangle2DSmallest bounding rectangle of the input ellipse.
outCenterAtl.Optional<Avl.Point2D>Center of the bounding rectangle.
outLongSideAtl.Optional<float>Length of the bounding rectangle long side.
outShortSideAtl.Optional<float>Length of the bounding rectangle short side.

See also