| UnitSpherical Structure | 
Namespace: AGI.Foundation.Coordinates
 Syntax
SyntaxThe UnitSpherical type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | UnitSpherical(Double) | 
            Initializes a set of UnitSpherical coordinates from the first 2 consecutive elements in the provided array.
             | 
|  | UnitSpherical(Spherical) | 
            Initializes a set of UnitSpherical coordinates from the provided set of
            Spherical coordinates.
             | 
|  | UnitSpherical(UnitCartesian) | 
            Initializes a set of UnitSpherical coordinates from the provided set of UnitCartesian coordinates.
             | 
|  | UnitSpherical(Double, Double) | 
            Initializes a set of UnitSpherical coordinates from the provided clock angle and cone angle.
             | 
|  | UnitSpherical(Double, Int32) | 
            Initializes a set of UnitSpherical coordinates from the provided array.
             | 
 Properties
Properties| 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.
             | 
|  | Item | |
|  | Length | 
            Gets the number of elements in this set of coordinates.
             | 
|  | Magnitude | 
            Gets the linear coordinate measured from the origin.  The value of this property is always 1.0.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals(Object) | 
        Indicates whether another object is exactly equal to this instance.
      (Overrides ValueTypeEquals(Object).) | 
|  | Equals(UnitSpherical) | 
        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.) | 
|  | ToString | 
            Returns the string representation of the value of this instance.
            (Overrides ValueTypeToString.) | 
 Operators
Operators| Name | Description | |
|---|---|---|
|   | Equality | 
        Returns  if the two instances are exactly equal.
       | 
|   | Inequality | 
        Returns  if the two instances are not exactly equal.
       | 
 See Also
See Also