One Logo Pool Ball
Spatial · IOS API REFERENCE

SphericalCoordinates3D

struct · iOS 18.0+ · SDK 27.1

struct SphericalCoordinates3D

Members (19)

init · iOS 18.0+

init

TypeScript
static initRadiusInclinationAzimuth(radius: number, inclination: Angle2D, azimuth: Angle2D): SphericalCoordinates3D
Swift declaration
init(radius: Double, inclination: Angle2D, azimuth: Angle2D)
get · iOS 18.0+

vector

TypeScript
get vector(): SDKHandle
Swift declaration
var vector: simd_double3 { get set }
set · iOS 18.0+

vector

TypeScript
set vector(value: SDKHandle)
Swift declaration
var vector: simd_double3 { get set }
get · iOS 18.0+

azimuth

TypeScript
get azimuth(): Angle2D
Swift declaration
var azimuth: Angle2D { get set }
set · iOS 18.0+

azimuth

TypeScript
set azimuth(value: Angle2D)
Swift declaration
var azimuth: Angle2D { get set }
get · iOS 18.0+

inclination

TypeScript
get inclination(): Angle2D
Swift declaration
var inclination: Angle2D { get set }
set · iOS 18.0+

inclination

TypeScript
set inclination(value: Angle2D)
Swift declaration
var inclination: Angle2D { get set }
get · iOS 18.0+

radius

TypeScript
get radius(): number
Swift declaration
var radius: Double { get set }
set · iOS 18.0+

radius

TypeScript
set radius(value: number)
Swift declaration
var radius: Double { get set }
init · iOS 18.0+

init

TypeScript
static initVector(vector: SDKHandle): SphericalCoordinates3D
Swift declaration
init(vector: simd_double3)
get · iOS 18.0+

description

TypeScript
get description(): string
Swift declaration
var 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 · iOS 18.0+

customMirror

TypeScript
get customMirror(): SDKHandle
Swift declaration
var customMirror: Mirror { get }

The custom mirror for this instance.

init · iOS 18.0+

init

TypeScript
static initXYZ(x: number, y: number, z: number): SphericalCoordinates3D
Swift declaration
init(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.

init · iOS 26.0+

init

TypeScript
static init(coords: SphericalCoordinates3DFloat): SphericalCoordinates3D
Swift declaration
init(_ coords: SphericalCoordinates3DFloat)

Returns a double-precision spherical coordinates structure from a single-precision spherical coordinates structure.

init · iOS 18.0+

init

TypeScript
static init34404(vector: Vector3D): SphericalCoordinates3D
Swift declaration
init(_ vector: Vector3D)

Creates a new spherical coordinates structure from the specified Cartesian coordinates represented by a Spatial vector. - Parameter vector: The Cartesian coordinates.

init · iOS 18.0+

init

TypeScript
static init55927(point: Point3D): SphericalCoordinates3D
Swift declaration
init(_ point: Point3D)

Creates a new spherical coordinates structure from the specified Cartesian coordinates represented by a Spatial point. - Parameter point: The Cartesian coordinates.

init · iOS 18.0+

init

TypeScript
static init19488(vector: SDKHandle): SphericalCoordinates3D
Swift declaration
init(_ vector: simd_double3)

Creates a new spherical coordinates structure from the specified Cartesian coordinates. - Parameter vector: The Cartesian coordinates.

init · iOS 26.0+

init

TypeScript
static init39141(source: SDKHandle): SphericalCoordinates3D
Swift declaration
init(_ source: simd_packed_double4)

Creates a Spatial spherical coordinates structure from a simd packed vector.

init · iOS 18.0+

init

TypeScript
static init61341(): SphericalCoordinates3D
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All Spatial types →