You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Features » FIL.PointsBoundingRectangle_FixedAngle
Computes the smallest rectangle with the given orientation angle containing an array of points.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void PointsBoundingRectangle_FixedAngle ( IList<FilNet.Point2D> inPoints, float inAngle, out FilNet.Rectangle2D outBoundingRectangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<FilNet.Point2D> | Input array of points. | ||
![]() | inAngle | float | Expected angle of the resulting rectangle. | ||
![]() | outBoundingRectangle | FilNet.Rectangle2D | Smallest bounding rectangle of the input points. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty array on input in PointsBoundingRectangle_FixedAngle. |
Function Overrides
- PointsBoundingRectangle_FixedAngle(IList<Point2D>, Single, Rectangle2D, Point2D, Single, Single)
- PointsBoundingRectangle_FixedAngle(IList<Point2D>, Single, Rectangle2D, NullableValue<Point2D>, NullableValue<Single>, NullableValue<Single>)