init
TypeScriptstatic initRadiusInclinationAzimuth(radius: number, inclination: Angle2DFloat, azimuth: Angle2DFloat): SphericalCoordinates3DFloatSwift declarationinit(radius: Float, inclination: Angle2DFloat, azimuth: Angle2DFloat)struct · iOS 26.0+ · SDK 27.1
struct SphericalCoordinates3DFloatstatic initRadiusInclinationAzimuth(radius: number, inclination: Angle2DFloat, azimuth: Angle2DFloat): SphericalCoordinates3DFloatSwift declarationinit(radius: Float, inclination: Angle2DFloat, azimuth: Angle2DFloat)get vector(): SDKHandleSwift declarationvar vector: simd_float3 { get set }set vector(value: SDKHandle)Swift declarationvar vector: simd_float3 { get set }get azimuth(): Angle2DFloatSwift declarationvar azimuth: Angle2DFloat { get set }set azimuth(value: Angle2DFloat)Swift declarationvar azimuth: Angle2DFloat { get set }get inclination(): Angle2DFloatSwift declarationvar inclination: Angle2DFloat { get set }set inclination(value: Angle2DFloat)Swift declarationvar inclination: Angle2DFloat { get set }get radius(): numberSwift declarationvar radius: Float { get set }set radius(value: number)Swift declarationvar radius: Float { get set }static initVector(vector: SDKHandle): SphericalCoordinates3DFloatSwift declarationinit(vector: simd_float3)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): SphericalCoordinates3DFloatSwift declarationinit(x: Float, y: Float, z: Float)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(point: Point3DFloat): SphericalCoordinates3DFloatSwift declarationinit(_ point: Point3DFloat)Creates a new spherical coordinates structure from the specified Cartesian coordinates represented by a Spatial point. - Parameter point: The Cartesian coordinates.
static init75424(vector: Vector3DFloat): SphericalCoordinates3DFloatSwift declarationinit(_ vector: Vector3DFloat)Creates a new spherical coordinates structure from the specified Cartesian coordinates represented by a Spatial vector. - Parameter vector: The Cartesian coordinates.
static init92049(coords: SphericalCoordinates3D): SphericalCoordinates3DFloatSwift declarationinit(_ coords: SphericalCoordinates3D)Returns a single-precision spherical coordinates structure from a double-precision spherical coordinates structure.
static init70017(vector: SDKHandle): SphericalCoordinates3DFloatSwift declarationinit(_ vector: simd_float3)Creates a new spherical coordinates structure from the specified Cartesian coordinates. - Parameter vector: The Cartesian coordinates.
static init58636(source: SDKHandle): SphericalCoordinates3DFloatSwift declarationinit(_ source: simd_packed_float4)Creates a Spatial spherical coordinates structure from a simd packed vector.
static init2236(): SphericalCoordinates3DFloatSwift declarationinit()No declarations were skipped in this snapshot.