You are here: Start » FIL.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:Fil
Assembly:FilNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.List<Fil.Point2D>Input array of points.
inAnglefloatExpected angle of the resulting rectangle.
outBoundingRectangleFtl.Conditional<Fil.Rectangle2D>Smallest bounding rectangle of the input points.
outCenterFtl.Conditional<Fil.Point2D>Center of the bounding rectangle.
outLongSideFtl.Conditional<float>Length of the bounding rectangle long side.
outShortSideFtl.Conditional<float>Length of the bounding rectangle short side.

See also