RegionBoundingParallelogram


Computes the smallest parallelogram containing a region.

Syntax

C++
C#
Python
 
def RegionBoundingParallelogram(
	inRegion: Region,
	outBoundingParallelogram: Path,
	/,
	*,
	inBoundingParallelogramFeature: BoundingRectangleFeature = BoundingRectangleFeature.MinimalArea,
	outCenter: Point2D | None = None
)
-> (
	outLongSide: float,
	outShortSide: float,
	outAngle: float
)

Parameters

Name Type Default Description
Input value inRegion Region Input region
Input value inBoundingParallelogramFeature BoundingRectangleFeature BoundingRectangleFeature.MinimalArea Determines what kind of bounding parallelogram will be computed
Output value outBoundingParallelogram Path Smallest bounding parallelogram of the input points
Output value outCenter Point2D | None None Center of the bounding parallelogram
Output value outLongSide float Length of the bounding parallelogram long side
Output value outShortSide float Length of the bounding parallelogram short side
Output value outAngle float Angle of the bounding parallelogram