Back to FabImage Studio website

You are here: Start » Filter Reference » Geometry 2D » Geometry 2D Features » PointsBoundingRectangle_OrNil

PointsBoundingRectangle_OrNil


Module: FoundationLite

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

Name Type Description
Input value inPoints Point2DArray Input array of points
Input value inBoundingRectangleFeature BoundingRectangleFeature Determines what kind of bounding rectangle will be computed
Input value inReferenceAngle Real The middle angle of the valid range of the output rectangle's angle
Input value inRectangleOrientation RectangleOrientation Orientation of the output rectangle
Output value outBoundingRectangle Rectangle2D? Smallest bounding rectangle of the input points
Output value outCenter Point2D? Center of the bounding rectangle
Output value outLongSide Real? Length of the bounding rectangle long side
Output value outShortSide Real? Length of the bounding rectangle short side

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of PointsBoundingRectangle filter group.