One Logo Pool Ball
Spatial · IOS API REFERENCE

Point3DFloat

struct · iOS 26.0+ · SDK 27.1

struct Point3DFloat

Members (42)

method · iOS 26.0+

applying

TypeScript
applying(transform: AffineTransform3DFloat): Point3DFloat
Swift declaration
func applying(_ transform: AffineTransform3DFloat) -> Point3DFloat
method · iOS 26.0+

applying

TypeScript
applying97943(transform: ProjectiveTransform3DFloat): Point3DFloat
Swift declaration
func applying(_ transform: ProjectiveTransform3DFloat) -> Point3DFloat
method · iOS 26.0+

clamped

TypeScript
clamped(rect: Rect3DFloat): Point3DFloat
Swift declaration
func clamped(to rect: Rect3DFloat) -> Point3DFloat
get · iOS 26.0+

isFinite

TypeScript
get isFinite(): boolean
Swift declaration
var isFinite: Bool { get }
get · iOS 26.0+

isNaN

TypeScript
get isNaN(): boolean
Swift declaration
var isNaN: Bool { get }
get · iOS 26.0+

isZero

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

rotated

TypeScript
rotatedBy(rotation: Rotation3DFloat): Point3DFloat
Swift declaration
func rotated(by rotation: Rotation3DFloat) -> Point3DFloat
method · iOS 16.0+

rotated

TypeScript
rotatedByAround(rotation: Rotation3DFloat, pivot: Point3DFloat): Point3DFloat
Swift declaration
func rotated(by rotation: Rotation3DFloat, around pivot: Point3DFloat) -> Point3DFloat
method · iOS 26.0+

rotated

TypeScript
rotatedBy66624(quaternion: SDKHandle): Point3DFloat
Swift declaration
func rotated(by quaternion: simd_quatf) -> Point3DFloat
method · iOS 26.0+

rotated

TypeScript
rotatedByAround22162(quaternion: SDKHandle, pivot: Point3DFloat): Point3DFloat
Swift declaration
func rotated(by quaternion: simd_quatf, around pivot: Point3DFloat) -> Point3DFloat
method · iOS 26.0+

translated

TypeScript
translated(offset: Vector3DFloat): Point3DFloat
Swift declaration
func translated(by offset: Vector3DFloat) -> Point3DFloat
method · iOS 26.0+

unapplying

TypeScript
unapplying(transform: AffineTransform3DFloat): Point3DFloat
Swift declaration
func unapplying(_ transform: AffineTransform3DFloat) -> Point3DFloat
method · iOS 26.0+

unapplying

TypeScript
unapplying1026(transform: ProjectiveTransform3DFloat): Point3DFloat
Swift declaration
func unapplying(_ transform: ProjectiveTransform3DFloat) -> Point3DFloat
get

infinity

TypeScript
static get infinity(): Point3DFloat
Swift declaration
static let infinity: Point3DFloat
get

zero

TypeScript
static get zero(): Point3DFloat
Swift declaration
static let zero: Point3DFloat
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+

x

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

x

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

y

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

y

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

z

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

z

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

init

TypeScript
static initVector(vector: SDKHandle): Point3DFloat
Swift declaration
init(vector: simd_float3)
method · iOS 26.0+

unapplying

TypeScript
unapplying50866(pose: ScaledPose3DFloat): Point3DFloat
Swift declaration
func unapplying(_ pose: ScaledPose3DFloat) -> Point3DFloat

Returns the primitive that results from unapplying a scaled pose to the primitive. - Parameter pose: The scaled pose. - Returns The transformed primitive.

method · iOS 26.0+

unapplying

TypeScript
unapplying55767(pose: Pose3DFloat): Point3DFloat
Swift declaration
func unapplying(_ pose: Pose3DFloat) -> Point3DFloat

Returns the primitive that results from applying a pose to the primitive. - Parameter pose: The pose. - Returns The transformed primitive.

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): Point3DFloat
Swift declaration
init(x: Float = 0, y: Float = 0, z: Float = 0)

Returns a point from the specified values. - Parameter x: The x component of the point. - Parameter y: The y component of the point. - Parameter z: The z component of the point.

init · iOS 26.0+

init

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

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

method · iOS 26.0+

isApproximatelyEqual

TypeScript
isApproximatelyEqual(other: Point3DFloat, tolerance?: number): boolean
Swift declaration
func isApproximatelyEqual(to other: Point3DFloat, tolerance: Float = sqrt(.ulpOfOne)) -> Bool

Returns a Boolean value that indicates whether two points are equal within a specified tolerance. - Parameter other: The second point. - Parameter tolerance: The tolerance of the comparison.

method · iOS 26.0+

applying

TypeScript
applying55104(scaledPose: ScaledPose3DFloat): Point3DFloat
Swift declaration
func applying(_ scaledPose: ScaledPose3DFloat) -> Point3DFloat

Returns the primitive that results from applying a scaled pose to the primitive. - Parameter pose: The scaled pose. - Returns The transformed primitive.

method · iOS 26.0+

applying

TypeScript
applying20217(pose: Pose3DFloat): Point3DFloat
Swift declaration
func applying(_ pose: Pose3DFloat) -> Point3DFloat

Returns the primitive that results from applying a pose to the primitive. - Parameter pose: The pose. - Returns The transformed primitive.

method · iOS 26.0+

distance

TypeScript
distance(other: Point3DFloat): number
Swift declaration
func distance(to other: Point3DFloat) -> Float
init · iOS 26.0+

init

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

Creates a new point structure that contains the spherical coordinates converted to Cartesian coordinates. - Parameter coords: The spherical coordinates.

init · iOS 26.0+

init

TypeScript
static init38521(size: Size3DFloat): Point3DFloat
Swift declaration
init(_ size: Size3DFloat)

Returns a new point from a size. - Parameter size: The source size.

init · iOS 26.0+

init

TypeScript
static init10841(xyz: Vector3DFloat): Point3DFloat
Swift declaration
init(_ xyz: Vector3DFloat)

Returns a new point from a Spatial vector. - Parameter xyz: The source vector.

init · iOS 26.0+

init

TypeScript
static init81729(point: Point3D): Point3DFloat
Swift declaration
init(_ point: Point3D)

Returns a single-precision point from a double-precision point.

init · iOS 26.0+

init

TypeScript
static init76159(xyz: SDKHandle): Point3DFloat
Swift declaration
init(_ xyz: simd_double3)

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

init · iOS 26.0+

init

TypeScript
static init13929(xyz: SDKHandle): Point3DFloat
Swift declaration
init(_ xyz: simd_float3)

Returns a new point from a double-precision vector. - Parameter xyz: The source vector.

init · iOS 26.0+

init

TypeScript
static init25396(source: SDKHandle): Point3DFloat
Swift declaration
init(_ source: simd_packed_float4)

Creates a Spatial point from a simd packed vector.

init · iOS 26.0+

init

TypeScript
static init70276(): Point3DFloat
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All Spatial types →