You are here: Start » FIL.NET » Function Reference » Region » Region Basics » FIL.CreateCircleRegion
Creates a circular region corresponding to a given circle.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CreateCircleRegion ( FilNet.Circle2D inCircle, FilNet.CoordinateSystem2D? inCircleAlignment, int inFrameWidth, int inFrameHeight, FilNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inCircle | FilNet.Circle2D | |||
![]() | inCircleAlignment | FilNet.CoordinateSystem2D? | Adjusts the circle to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inFrameWidth | int | <0, 65535> | Width of the created region's frame (not to be confused with the size of the circle!). | |
![]() | inFrameHeight | int | <0, 65535> | Height of the created region's frame (not to be confused with the size of the circle!). | |
![]() | outRegion | FilNet.Region | Output region. |
Description
The operation creates a region containing pixels lying inside the given circle.
The inFrameWidth and inFrameHeight parameters most often should be set equal to the dimensions of the image this region will be used with. If the input circle exceeds these dimensions, the output region will be cropped.
Examples
![]() |
![]() |
CreateCircleRegion run with inCircle = Circle2D(150,150,100).
Function Overrides
- CreateCircleRegion(Circle2D, Int32, Int32, Region)
- CreateCircleRegion(Circle2D, Nullable<CoordinateSystem2D>, Int32, Int32, Region, Circle2D)
- CreateCircleRegion(Circle2D, Nullable<CoordinateSystem2D>, Int32, Int32, Region, NullableValue<Circle2D>)