CreateEllipseRegion


Creates an elliptic region of given bounding rectangle.

Syntax

C++
Python
 
def CreateEllipseRegion(
	inEllipse: Rectangle2D,
	inFrameWidth: int,
	inFrameHeight: int,
	outRegion: Region,
	/,
	*,
	inEllipseAlignment: CoordinateSystem2D | None = None,
	outAlignedEllipse: Rectangle2D | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inEllipse Rectangle2D
Input value inEllipseAlignment CoordinateSystem2D | None None Adjusts the ellipse to the position of the inspected object
Input value inFrameWidth int 0 - 65535 Width of the created region's frame (not to be confused with the width of the ellipse!)
Input value inFrameHeight int 0 - 65535 Height of the created region's frame (not to be confused with the height of the ellipse!)
Output value outRegion Region Output region
Output value outAlignedEllipse Rectangle2D | None None The input ellipse transformed to the absolute coordinate system