You are here: Start » FIL.NET » Function Reference » Region » Region Features » FIL.RegionEllipticAxes
Computes axes of an ellipse having the same first and second order moments as the given region.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RegionEllipticAxes ( FilNet.Region inRegion, out FilNet.Segment2D outMajorAxis, out FilNet.Segment2D outMinorAxis )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | outMajorAxis | FilNet.Segment2D | |||
![]() | outMinorAxis | FilNet.Segment2D |
Description
The orientations of the resulting axes are always between 0 and 180 degrees.
Examples

RegionEllipticAxes performed on a sample region.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty region on input in RegionEllipticAxes. |