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


