You are here: Start » AVL.NET » AVL.CreateRingRegion(AvlNet.Circle2D, AvlNet.CoordinateSystem2D?, float, AvlNet.BorderPosition, int, int, AvlNet.Region, AvlNet.Circle2D)
AVL.CreateRingRegion(AvlNet.Circle2D, AvlNet.CoordinateSystem2D?, float, AvlNet.BorderPosition, int, int, AvlNet.Region, AvlNet.Circle2D)
Creates a ring-shaped region with given parameters.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CreateRingRegion( AvlNet.Circle2D inCircle, AvlNet.CoordinateSystem2D? inCircleAlignment, float inRingWidth, AvlNet.BorderPosition inBorderPosition, int inFrameWidth, int inFrameHeight, out AvlNet.Region outRegion, out AvlNet.Circle2D outAlignedCircle )
Parameters
- inCircle
- Type: AvlNet.Circle2D
Input circle - inCircleAlignment
- Type: System.Nullable<AvlNet.CoordinateSystem2D>
Adjusts the circle to the position of the inspected object, or null. - inRingWidth
- Type: System.Single
- inBorderPosition
- Type: AvlNet.BorderPosition
- inFrameWidth
- Type: System.Int32
Width of the created region's frame - inFrameHeight
- Type: System.Int32
Height of the created region's frame - outRegion
- Type: AvlNet.Region
Output region - outAlignedCircle
- Type: AvlNet.Circle2D
Errors
| Error type | Description |
|---|---|
| DomainError | Incorrect BorderPosition in CreateRingRegion. |
