LuciadCPillar C# 2023.1.04
|
An angle on a mathematical circle: degrees, counter-clockwise from right/X-axis. More...
Public Types | |
enum | Direction { Clockwise , CounterClockwise } |
Represents the different angular directions. More... | |
Public Member Functions | |
Angle (Angle angle) | |
Creates an angle based on another angle. More... | |
Angle (double degrees) | |
Creates an angle based on the given angular value in degrees. More... | |
bool | Equals (Angle other) |
override bool | Equals (object other) |
override int | GetHashCode () |
Static Public Member Functions | |
static Angle | FromRadians (double radians) |
Creates an Angle from an angle value in radians. More... | |
static double | Normalize (double degrees) |
Normalizes the degree value to the range ]-180, +180]. More... | |
static implicit | operator Angle (Azimuth azimuth) |
Creates an angle based on an azimuth, expressed in degrees. More... | |
static implicit | operator Angle (double value) |
static bool | operator!= (Angle lhs, Angle rhs) |
static bool | operator== (Angle lhs, Angle rhs) |
Properties | |
double | Degrees [get] |
double | Radians [get] |
An angle on a mathematical circle: degrees, counter-clockwise from right/X-axis.
Represents the different angular directions.
Enumerator | |
---|---|
Clockwise | Angle in clockwise direction.
|
CounterClockwise | Angle in counter-clockwise direction.
|
|
inline |
Creates an angle based on the given angular value in degrees.
degrees
an angle in degree
luciad::InvalidArgumentException
when degrees is NaN or infinite.
|
inline |
Creates an angle based on another angle.
angle
an angle.
|
inline |
|
inline |
|
inlinestatic |
Creates an Angle from an angle value in radians.
radians
an angle in radians
a new angle based on the given angle in radians
luciad::InvalidArgumentException
when radians is NaN or infinite.
|
inline |
|
inlinestatic |
Normalizes the degree value to the range ]-180, +180].
degrees
a value in degrees
a degrees value, normalized to ]-180, +180].
Creates an angle based on an azimuth, expressed in degrees.
azimuth
an azimuth.
|
inlinestatic |
|
get |
|
get |