One Logo Pool Ball
Spatial · IOS API REFERENCE

RotationAxis3D

struct · iOS 16.0+ · SDK 27.1

struct RotationAxis3D

Members (30)

get · iOS 16.0+

isZero

TypeScript
get isZero(): boolean
Swift declaration
var isZero: Bool { get }
get · iOS 16.0+

zero

TypeScript
static get zero(): RotationAxis3D
Swift declaration
static let zero: RotationAxis3D
get · iOS 16.0+

vector

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

vector

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

init

TypeScript
static initVector(vector: SDKHandle): RotationAxis3D
Swift declaration
init(vector: simd_double3)
get · iOS 16.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 16.0+

init

TypeScript
static initXYZ(x?: number, y?: number, z?: number): RotationAxis3D
Swift declaration
init(x: Double = 0, y: Double = 0, z: Double = 0)

Returns a rotation axis from the specified values. - Parameter x: The rotation value on the x-axis. - Parameter y: The rotation value on the y-axis. - Parameter z: The rotation value on the z-axis.

init · iOS 16.0+

init

TypeScript
static initXYZ73711(x: number, y: number, z: number): RotationAxis3D
Swift declaration
init<T>(x: T, y: T, z: T) where T : BinaryFloatingPoint

Returns a new rotation axis from the floating-point values. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.

get · iOS 16.0+

x

TypeScript
static get x(): RotationAxis3D
Swift declaration
static let x: RotationAxis3D

The x-axis, expressed in unit coordinates.

get · iOS 16.0+

x

TypeScript
get x82189(): number
Swift declaration
var x: Double { get set }

The x-axis value.

set · iOS 16.0+

x

TypeScript
set x82189(value: number)
Swift declaration
var x: Double { get set }

The x-axis value.

get · iOS 16.0+

y

TypeScript
static get y(): RotationAxis3D
Swift declaration
static let y: RotationAxis3D

The y-axis, expressed in unit coordinates.

get · iOS 16.0+

y

TypeScript
get y29646(): number
Swift declaration
var y: Double { get set }

The y-axis value.

set · iOS 16.0+

y

TypeScript
set y29646(value: number)
Swift declaration
var y: Double { get set }

The y-axis value.

get · iOS 16.0+

z

TypeScript
static get z(): RotationAxis3D
Swift declaration
static let z: RotationAxis3D

The z-axis, expressed in unit coordinates.

get · iOS 16.0+

z

TypeScript
get z10947(): number
Swift declaration
var z: Double { get set }

The z-axis value.

set · iOS 16.0+

z

TypeScript
set z10947(value: number)
Swift declaration
var z: Double { get set }

The z-axis value.

get · iOS 16.0+

xy

TypeScript
static get xy(): RotationAxis3D
Swift declaration
static let xy: RotationAxis3D

The xy-axis, expressed in unit coordinates.

get · iOS 16.0+

xz

TypeScript
static get xz(): RotationAxis3D
Swift declaration
static let xz: RotationAxis3D

The xz-axis, expressed in unit coordinates.

get · iOS 16.0+

yz

TypeScript
static get yz(): RotationAxis3D
Swift declaration
static let yz: RotationAxis3D

The yz-axis, expressed in unit coordinates.

get · iOS 16.0+

xyz

TypeScript
static get xyz(): RotationAxis3D
Swift declaration
static let xyz: RotationAxis3D

The xyz-axis, expressed in unit coordinates.

get · iOS 16.0+

simd

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

simd

TypeScript
set simd(value: SDKHandle)
Swift declaration
var simd: simd_double3 { get set }
init · iOS 26.0+

init

TypeScript
static init(axis: RotationAxis3DFloat): RotationAxis3D
Swift declaration
init(_ axis: RotationAxis3DFloat)

Returns a double-precision rotation axis from a single-precision rotation axis.

init · iOS 16.0+

init

TypeScript
static init97180(xyz: Vector3D): RotationAxis3D
Swift declaration
init(_ xyz: Vector3D)

Returns a new rotation axis from a Spatial vector.

init · iOS 16.0+

init

TypeScript
static init19736(xyz: SDKHandle): RotationAxis3D
Swift declaration
init(_ xyz: simd_double3)

Returns a new rotation axis from a single-precision vector.

init · iOS 16.0+

init

TypeScript
static init56274(xyz: SDKHandle): RotationAxis3D
Swift declaration
init(_ xyz: simd_float3)

Returns a new rotation axis from a single-precision vector. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.

init · iOS 26.0+

init

TypeScript
static init61725(source: SDKHandle): RotationAxis3D
Swift declaration
init(_ source: simd_packed_double4)

Creates a Spatial rotation axis from a simd packed vector.

init · iOS 16.0+

init

TypeScript
static init72533(): RotationAxis3D
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All Spatial types →