Spherical Structure |
Namespace: AGI.Foundation.Coordinates
The Spherical type exposes the following members.
| Name | Description | |
|---|---|---|
| Spherical(AzimuthElevationRange) |
Initializes a set of Spherical coordinates from the provided set of
AzimuthElevationRange coordinates.
| |
| Spherical(Cartesian) |
Initializes a set of Spherical coordinates from the provided set of Cartesian coordinates.
| |
| Spherical(Cylindrical) |
Initializes a set of Spherical coordinates from the provided set of Cylindrical coordinates.
| |
| Spherical(Double) |
Initializes a set of Spherical coordinates from the first 3 consecutive elements in the provided array.
| |
| Spherical(LongitudeLatitudeRadius) |
Initializes a set of Spherical coordinates from the provided set of
LongitudeLatitudeRadius coordinates.
| |
| Spherical(Double, Int32) |
Initializes a set of Spherical coordinates from the provided array.
| |
| Spherical(Double, Double, Double) |
Initializes a set of Spherical coordinates from the provided clock angle, cone angle, and magnitude.
|
| Name | Description | |
|---|---|---|
| Clock |
Gets the angular coordinate lying in the xy-plane measured from the positive x-axis and toward the positive y-axis.
| |
| Cone |
Gets the angular coordinate measured from the positive z-axis and toward the negative z-axis.
| |
| IsUndefined |
Gets a value indicating whether any of the coordinates for this instance have the value NaN.
| |
| Item | ||
| Length |
Gets the number of elements in this set of coordinates.
| |
| Magnitude |
Gets the linear coordinate measured from the origin.
| |
| Undefined |
Gets a set of Spherical coordinates with values of NaN.
| |
| Zero |
Gets a set of Spherical coordinates with values of zero.
|
| Name | Description | |
|---|---|---|
| Equals(Object) |
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).) | |
| Equals(Spherical) |
Indicates whether another instance of this type is exactly equal to this instance.
| |
| EqualsEpsilon |
Indicates whether each coordinate value of another instance of this type
is within the required tolerance of the corresponding coordinate value of this instance.
| |
| GetHashCode |
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Normalize |
Forms a set of UnitSpherical coordinates from this instance.
| |
| ToString |
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Equality |
Returns if the two instances are exactly equal.
| |
| Inequality |
Returns if the two instances are not exactly equal.
|