AngleUnit Class
Defines an angle unit.
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)
Syntax
public class AngleUnit : ResourceObject
Remarks
An AngleUnit object defines an angle unit. It can be attached to a projection of the class EquidistantCylindricalAngularProjection, but most other kinds of Projection require a LengthUnit instead.
There is, in fact, one other map projection where an angle unit could be useful, but you have to emulate it as a LengthUnit. For details, see AzimuthalEquidistantProjection.
Inheritance Hierarchy
System.Object (not available in C#)
EngineObject
ResourceObject
AngleUnit
Platforms
Windows, Linux, Android
AngleUnit Members
The AngleUnit type has the following members.
Constructors
Name | Description |
---|---|
AngleUnit | Creates a new AngleUnit. |
Properties
Name | Description |
---|---|
Gets the AngleUnit that represents a degree. | |
Gets the AngleUnit that represents a gon (also known as a grad). | |
InRadians | Gets the angle unit expressed in radians. |
IsDisposed | Gets a value that tells whether the current AngleUnit has been disposed. Inherited from EngineObject |
Name | Gets or sets the name of the AngleUnit. Inherited from ResourceObject |
NativeHandle | Gets the native Carmenta Engine kernel object the current AngleUnit represents. Inherited from EngineObject |
Gets the AngleUnit that represents a radian. | |
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 |
FromRadians | Converts an angle in radians to this AngleUnit. |
ToRadians | Converts an angle in this AngleUnit to radians. |