init
TypeScriptstatic initRadiusInclinationAzimuth(radius: number, inclination: Angle2D, azimuth: Angle2D): SphericalCoordinates3DSwift declarationinit(radius: Double, inclination: Angle2D, azimuth: Angle2D)struct · iOS 18.0+ · SDK 27.1
struct SphericalCoordinates3Dstatic initRadiusInclinationAzimuth(radius: number, inclination: Angle2D, azimuth: Angle2D): SphericalCoordinates3DSwift declarationinit(radius: Double, inclination: Angle2D, azimuth: Angle2D)get vector(): SDKHandleSwift declarationvar vector: simd_double3 { get set }set vector(value: SDKHandle)Swift declarationvar vector: simd_double3 { get set }get azimuth(): Angle2DSwift declarationvar azimuth: Angle2D { get set }set azimuth(value: Angle2D)Swift declarationvar azimuth: Angle2D { get set }get inclination(): Angle2DSwift declarationvar inclination: Angle2D { get set }set inclination(value: Angle2D)Swift declarationvar inclination: Angle2D { get set }get radius(): numberSwift declarationvar radius: Double { get set }set radius(value: number)Swift declarationvar radius: Double { get set }static initVector(vector: SDKHandle): SphericalCoordinates3DSwift declarationinit(vector: simd_double3)get description(): stringSwift declarationvar description: String { get }A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.
get customMirror(): SDKHandleSwift declarationvar customMirror: Mirror { get }The custom mirror for this instance.
static initXYZ(x: number, y: number, z: number): SphericalCoordinates3DSwift declarationinit(x: Double, y: Double, z: Double)Creates a new spherical coordinates structure from the specified Cartesian coordinates. - Parameter x: The `x` Cartesian coordinate. - Parameter y: The `y` Cartesian coordinate. - Parameter z: The `z` Cartesian coordinate.
static init(coords: SphericalCoordinates3DFloat): SphericalCoordinates3DSwift declarationinit(_ coords: SphericalCoordinates3DFloat)Returns a double-precision spherical coordinates structure from a single-precision spherical coordinates structure.
static init34404(vector: Vector3D): SphericalCoordinates3DSwift declarationinit(_ vector: Vector3D)Creates a new spherical coordinates structure from the specified Cartesian coordinates represented by a Spatial vector. - Parameter vector: The Cartesian coordinates.
static init55927(point: Point3D): SphericalCoordinates3DSwift declarationinit(_ point: Point3D)Creates a new spherical coordinates structure from the specified Cartesian coordinates represented by a Spatial point. - Parameter point: The Cartesian coordinates.
static init19488(vector: SDKHandle): SphericalCoordinates3DSwift declarationinit(_ vector: simd_double3)Creates a new spherical coordinates structure from the specified Cartesian coordinates. - Parameter vector: The Cartesian coordinates.
static init39141(source: SDKHandle): SphericalCoordinates3DSwift declarationinit(_ source: simd_packed_double4)Creates a Spatial spherical coordinates structure from a simd packed vector.
static init61341(): SphericalCoordinates3DSwift declarationinit()No declarations were skipped in this snapshot.