EllipseOperator Class
Generates ellipse-shaped polygons around point features.
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CEOperators assembly)
Syntax
public class EllipseOperator : UnaryOperator
Remarks
This operator generates circle-shaped or ellipse-shaped polygon features around points. You can also use it to make an annulus (a ring) by specifying an inner radius, or to make a sector by giving two angles, or both.
No output will be generated for an input point feature with attributes that make the Radius evaluate to zero.
Input features that are not points will pass through the operator unchanged.
Each output polygon generated around an input point will be expressed in its own special Crs whose map projection preserves distances and directions from the point, namely an AzimuthalEquidistantProjection. But when the polygons are displayed, they are automatically reprojected to the View.Crs, so you need to think about their CRS only if you are doing some post-processing of the polygons in your application.
![]() |
Interacting with ellipses
It is possible to interact with the result of a EllipseOperator. See Interacting with Ellipses for information on how to set it up.
Inheritance Hierarchy
System.Object (not available in C#)
EngineObject
Operator
UnaryOperator
EllipseOperator
Platforms
Windows, Linux, Android
EllipseOperator Members
The EllipseOperator type has the following members.
Constructors
Name | Description |
---|---|
EllipseOperator | Initializes a new instance of the EllipseOperator class. |
Properties
Name | Description |
---|---|
ArcAccuracy | Gets or sets a value specifying the accuracy of generated arcs, expressed as segments per revolution. |
Description | Gets or sets a short description of the operator. Inherited from Operator |
Direction | Gets or sets the direction of the ellipse semi-axis that is defined by Radius. |
DisplayName | Gets or sets a display name for the operator. Inherited from Operator |
InnerRadius | Gets or sets the inner radius. |
Input | Gets or sets the input operator, from which this operator reads features. Inherited from UnaryOperator |
IsDisposed | Gets a value that tells whether the current EllipseOperator has been disposed. Inherited from EngineObject |
IsoMetadataDocument | Gets or sets the path to an ISO 19139 metadata document for the operator. Inherited from Operator |
Margin | Gets or sets a margin added to the view area when requesting data from the input operator. |
MaxRadialEdgeLength | Gets or sets a value specifying the maximal length of a radial edge of a generated sector. |
Name | Gets or sets the name of the operator. Inherited from Operator |
NativeHandle | Gets the native Carmenta Engine kernel object the current EllipseOperator represents. Inherited from EngineObject |
Radius | Gets or sets the length of one semi-axis in the ellipse. |
RadiusUnit | Gets or sets the length unit for the Radius, InnerRadius and MaxRadialEdgeLength. |
Ratio | Gets or sets the ratio between the two semi-axes of the ellipse. |
SectorDefinition | Gets or sets a value specifying which angles to use to define an ellipse sector. |
SectorFinish | Gets or sets the end angle of a sector. |
SectorMiddle | Gets or sets the center angle of a sector. |
SectorStart | Gets or sets the start angle of a sector. |
SectorWidth | Gets or sets the width of a sector. |
IUserProperties.UserProperties | Gets the AttributeSet that contains the user properties. Inherited from IUserProperties |
Methods
Name | Description |
---|---|
Clone | Creates a copy of an object. Inherited from EngineObject |
Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
FindChildObject | Overloaded. Finds the child object with the specified name. Inherited from Operator |
FlushCache | Marks the layer as flushed which will release cached resources during the next update. Inherited from Operator |
GetChildObjects | Overloaded. Gets the child objects of the current object. Inherited from Operator |
GetFeatures | Overloaded. Gets features from the operator chain. Inherited from Operator |
GetLocalizedDescription | Gets a localized version of the operator description in a specific language. Inherited from Operator |
GetLocalizedDisplayName | Gets a localized version of the operator display name in a specific language. Inherited from Operator |
GetLocalizedIsoMetadataDocument | Gets the path to an ISO 19139 metadata document for a specific language. Inherited from Operator |
GetRasterFeature | Overloaded. Gets raster features from the operator chain and merges them into a single raster. Inherited from Operator |
HasLocalizedDescription | Checks if a localized version of the operator description is available in a specific language. Inherited from Operator |
HasLocalizedDisplayName | Checks if a localized version of the operator display name is available in a specific language. Inherited from Operator |
HasLocalizedIsoMetadataDocument | Checks if an ISO 19139 metadata document is available for a specific language. Inherited from Operator |
SetLocalizedDescription | Sets a operator description in a specific language. Inherited from Operator |
SetLocalizedDisplayName | Sets a operator display name in a specific language. Inherited from Operator |
SetLocalizedIsoMetadataDocument | Sets the path to an ISO 19139 metadata document for the operator, for a specific language. Inherited from Operator |