One Logo Pool Ball
Spatial · IOS API REFERENCE

SphericalCoordinates3DFloat

struct · iOS 26.0+ · SDK 27.1

struct SphericalCoordinates3DFloat

Members (19)

init · iOS 26.0+

init

TypeScript
static initRadiusInclinationAzimuth(radius: number, inclination: Angle2DFloat, azimuth: Angle2DFloat): SphericalCoordinates3DFloat
Swift declaration
init(radius: Float, inclination: Angle2DFloat, azimuth: Angle2DFloat)
get · iOS 26.0+

vector

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

vector

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

azimuth

TypeScript
get azimuth(): Angle2DFloat
Swift declaration
var azimuth: Angle2DFloat { get set }
set · iOS 26.0+

azimuth

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

inclination

TypeScript
get inclination(): Angle2DFloat
Swift declaration
var inclination: Angle2DFloat { get set }
set · iOS 26.0+

inclination

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

radius

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

radius

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

init

TypeScript
static initVector(vector: SDKHandle): SphericalCoordinates3DFloat
Swift declaration
init(vector: simd_float3)
get · iOS 26.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 26.0+

customMirror

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

The custom mirror for this instance.

init · iOS 26.0+

init

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

init · iOS 26.0+

init

TypeScript
static init(point: Point3DFloat): SphericalCoordinates3DFloat
Swift declaration
init(_ point: Point3DFloat)

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

init · iOS 26.0+

init

TypeScript
static init75424(vector: Vector3DFloat): SphericalCoordinates3DFloat
Swift declaration
init(_ vector: Vector3DFloat)

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

init · iOS 26.0+

init

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

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

init · iOS 26.0+

init

TypeScript
static init70017(vector: SDKHandle): SphericalCoordinates3DFloat
Swift declaration
init(_ vector: simd_float3)

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

init · iOS 26.0+

init

TypeScript
static init58636(source: SDKHandle): SphericalCoordinates3DFloat
Swift declaration
init(_ source: simd_packed_float4)

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

init · iOS 26.0+

init

TypeScript
static init2236(): SphericalCoordinates3DFloat
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All Spatial types →