UnitSpherical Constructor (Double, Int32) |
Initializes a set of
UnitSpherical coordinates from the provided array.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic UnitSpherical(
double[] elements,
int startIndex
)
Public Sub New (
elements As Double(),
startIndex As Integer
)
public:
UnitSpherical(
array<double>^ elements,
int startIndex
)
new :
elements : float[] *
startIndex : int -> UnitSphericalParameters
- elements
- Type: SystemDouble
The array of coordinate values. - startIndex
- Type: SystemInt32
The index of the first element in the array to use.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
Thrown when elements is .
|
| ArgumentOutOfRangeException |
Thrown when an object of this type is constructed from an array with less than 2 elements.
|
See Also