Click or drag to resize

Spherical Structure

A set of curvilinear 3-dimensional coordinates.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public struct Spherical : IEquatable<Spherical>, 
	IEquatableEpsilon<Spherical>

The Spherical type exposes the following members.

Constructors
  NameDescription
Public methodSpherical(AzimuthElevationRange)
Initializes a set of Spherical coordinates from the provided set of AzimuthElevationRange coordinates.
Public methodSpherical(Cartesian)
Initializes a set of Spherical coordinates from the provided set of Cartesian coordinates.
Public methodSpherical(Cylindrical)
Initializes a set of Spherical coordinates from the provided set of Cylindrical coordinates.
Public methodSpherical(Double)
Initializes a set of Spherical coordinates from the first 3 consecutive elements in the provided array.
Public methodSpherical(LongitudeLatitudeRadius)
Initializes a set of Spherical coordinates from the provided set of LongitudeLatitudeRadius coordinates.
Public methodSpherical(Double, Int32)
Initializes a set of Spherical coordinates from the provided array.
Public methodSpherical(Double, Double, Double)
Initializes a set of Spherical coordinates from the provided clock angle, cone angle, and magnitude.
Top
Properties
  NameDescription
Public propertyClock
Gets the angular coordinate lying in the xy-plane measured from the positive x-axis and toward the positive y-axis.
Public propertyCone
Gets the angular coordinate measured from the positive z-axis and toward the negative z-axis.
Public propertyIsUndefined
Gets a value indicating whether any of the coordinates for this instance have the value NaN.
Public propertyItem
Gets the value of the specified element with index of 0, 1, and 2 corresponding to the coordinates Clock, Cone, and Magnitude.
Public propertyLength
Gets the number of elements in this set of coordinates.
Public propertyMagnitude
Gets the linear coordinate measured from the origin.
Public propertyStatic memberUndefined
Gets a set of Spherical coordinates with values of NaN.
Public propertyStatic memberZero
Gets a set of Spherical coordinates with values of zero.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Spherical)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodEqualsEpsilon
Indicates whether each coordinate value of another instance of this type is within the required tolerance of the corresponding coordinate value of this instance.
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNormalize
Forms a set of UnitSpherical coordinates from this instance.
Public methodToString
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
See Also