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 | |
|---|---|---|---|---|---|
![]() |
inEllipse | Rectangle2D | |||
![]() |
inEllipseAlignment | CoordinateSystem2D | None | None | Adjusts the ellipse to the position of the inspected object | |
![]() |
inFrameWidth | int | 0 - 65535 | Width of the created region's frame (not to be confused with the width of the ellipse!) | |
![]() |
inFrameHeight | int | 0 - 65535 | Height of the created region's frame (not to be confused with the height of the ellipse!) | |
![]() |
outRegion | Region | Output region | ||
![]() |
outAlignedEllipse | Rectangle2D | None | None | The input ellipse transformed to the absolute coordinate system |


