<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Point3DFloat",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "c:@UA@SPPoint3DFloat"
  },
  "title" : "Point3DFloat"
}
-->

# Point3DFloat

A single-precision structure that contains a point in a three-dimensional coordinate system.

```
struct Point3DFloat
```

## Topics

### Operators

[`static func * (Pose3DFloat, Point3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/*(_:_:)-1r8dj)

Returns the point that results from applying the pose to the point.

[`static func * (ProjectiveTransform3DFloat, Point3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/*(_:_:)-22247)

Returns the point that results from applying the transform to the point.

[`static func * (AffineTransform3DFloat, Point3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/*(_:_:)-3doxu)

Returns the point that results from applying the transform to the point.

[`static func * (Float, Point3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/*(_:_:)-5k7wl)

Returns a point with each element mulitplied by a scalar value.

[`static func * (Point3DFloat, Float) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/*(_:_:)-8ug4a)

Returns a point with each element mulitplied by a scalar value.

[`static func *= (inout Point3DFloat, Float)`](/documentation/Spatial/Point3DFloat/*=(_:_:))

Calculates the product of each element of a point and a scalar value and stores the result in the left-hand-side variable.

[`static func + (Size3DFloat, Point3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/+(_:_:)-1t1gn)

Returns a point that’s the element-wise sum of a size’s
`width`, `height`, and `depth` and a point’s `x`, `y`, and `z` .

[`static func + (Point3DFloat, Size3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/+(_:_:)-6ihv8)

Returns a point that’s the element-wise sum of a point’s `x`, `y`, and `z` and a size’s
`width`, `height`, and `depth`.

[`static func += (inout Point3DFloat, Vector3DFloat)`](/documentation/Spatial/Point3DFloat/+=(_:_:)-1x97i)

Calculates the point that’s the element-wise sum of a point and a vector and stores the result in the left-hand-side variable.

[`static func += (inout Point3DFloat, Size3DFloat)`](/documentation/Spatial/Point3DFloat/+=(_:_:)-83599)

Calculates the element-wise sum of a point’s `x`, `y`, and `z` and a size’s
`width`, `height`, and `depth` and stores the result in the left-hand-side variable.

[`static func - (Point3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/-(_:))

Returns a point that’s the element-wise negation of the point.

[`static func - (Size3DFloat, Point3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/-(_:_:)-46bqa)

Returns a point that’s the element-wise difference of a size’s
`width`, `height`, and `depth` and a point’s `x`, `y`, and `z`.

[`static func - (Point3DFloat, Point3DFloat) -> Vector3DFloat`](/documentation/Spatial/Point3DFloat/-(_:_:)-5jrc)

Returns a vector that’s the element-wise difference of two points.

[`static func - (Point3DFloat, Size3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/-(_:_:)-5rz8s)

Returns a point that’s the element-wise difference of a point’s `x`, `y`, and `z` and a size’s
`width`, `height`, and `depth`.

[`static func -= (inout Point3DFloat, Size3DFloat)`](/documentation/Spatial/Point3DFloat/-=(_:_:)-7r1d1)

Calculates the element-wise difference of a point’s `x`, `y`, and `z` and a size’s
`width`, `height`, and `depth` and stores the result in the left-hand-side variable.

[`static func -= (inout Point3DFloat, Vector3DFloat)`](/documentation/Spatial/Point3DFloat/-=(_:_:)-8fp0l)

Calculates the point that’s the element-wise difference of a point and a vector and stores the result in the left-hand-side variable.

[`static func / (Point3DFloat, Float) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/_(_:_:))

Returns a point with each element divided by a scalar value.

[`static func /= (inout Point3DFloat, Float)`](/documentation/Spatial/Point3DFloat/_=(_:_:))

Calculates the division of each element of a point and a scalar value and stores the result in the left-hand-side variable.

### Initializers

[`init()`](/documentation/Spatial/Point3DFloat/init())

[`init(Size3DFloat)`](/documentation/Spatial/Point3DFloat/init(_:)-1h5vt)

Returns a new point from a size.

[`init(Vector3DFloat)`](/documentation/Spatial/Point3DFloat/init(_:)-4sdjs)

Returns a new point from a Spatial vector.

[`init(simd_packed_float4)`](/documentation/Spatial/Point3DFloat/init(_:)-4uwq7)

Creates a Spatial point from a simd packed vector.

[`init(simd_double3)`](/documentation/Spatial/Point3DFloat/init(_:)-5fcqk)

Returns a new point from a double-precision vector.

[`init(Point3D)`](/documentation/Spatial/Point3DFloat/init(_:)-5g1ob)

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

[`init(SphericalCoordinates3DFloat)`](/documentation/Spatial/Point3DFloat/init(_:)-8c02t)

Creates a new point structure that contains the spherical coordinates converted to Cartesian coordinates.

[`init(simd_float3)`](/documentation/Spatial/Point3DFloat/init(_:)-8dj77)

Returns a new point from a double-precision vector.

[`init(vector: simd_float3)`](/documentation/Spatial/Point3DFloat/init(vector:))

[`init<T>(x: T, y: T, z: T)`](/documentation/Spatial/Point3DFloat/init(x:y:z:)-3hzkg)

Returns a new point from the doubleing-point values.

[`init(x: Float, y: Float, z: Float)`](/documentation/Spatial/Point3DFloat/init(x:y:z:)-59uqs)

Returns a point from the specified values.

### Instance Properties

[`var vector: simd_float3`](/documentation/Spatial/Point3DFloat/vector)

[`var x: Float`](/documentation/Spatial/Point3DFloat/x)

[`var y: Float`](/documentation/Spatial/Point3DFloat/y)

[`var z: Float`](/documentation/Spatial/Point3DFloat/z)

### Instance Methods

[`func applying(ScaledPose3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/applying(_:)-2dhmf)

Returns the primitive that results from applying a scaled pose to the primitive.

[`func distance(to: Point3DFloat) -> Float`](/documentation/Spatial/Point3DFloat/distance(to:))

[`func isApproximatelyEqual(to: Point3DFloat, tolerance: Float) -> Bool`](/documentation/Spatial/Point3DFloat/isApproximatelyEqual(to:tolerance:))

Returns a Boolean value that indicates whether two points are equal within a specified tolerance.

[`func rotated(by: simd_quatf, around: Point3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/rotated(by:around:)-1ejmw)

[`func rotated(by: Rotation3DFloat, around: Point3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/rotated(by:around:)-5xwwi)

[`func unapplying(ScaledPose3DFloat) -> Point3DFloat`](/documentation/Spatial/Point3DFloat/unapplying(_:)-93yzx)

Returns the primitive that results from unapplying a scaled pose to the primitive.

### Default Implementations

[CustomReflectable Implementations](/documentation/Spatial/Point3DFloat/CustomReflectable-Implementations)

[Decodable Implementations](/documentation/Spatial/Point3DFloat/Decodable-Implementations)

[Encodable Implementations](/documentation/Spatial/Point3DFloat/Encodable-Implementations)

[Equatable Implementations](/documentation/Spatial/Point3DFloat/Equatable-Implementations)

[Hashable Implementations](/documentation/Spatial/Point3DFloat/Hashable-Implementations)

[Primitive3DProtocol Implementations](/documentation/Spatial/Point3DFloat/Primitive3DProtocol-Implementations)

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomReflectable`](/documentation/Swift/CustomReflectable)

[`SpatialTypeProtocol`](/documentation/Spatial/SpatialTypeProtocol)

[`Translatable3DProtocol`](/documentation/Spatial/Translatable3DProtocol)

[`Primitive3DProtocol`](/documentation/Spatial/Primitive3DProtocol)

[`ProjectiveTransformable3DFloat`](/documentation/Spatial/ProjectiveTransformable3DFloat)

[`Escapable`](/documentation/Swift/Escapable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`Encodable`](/documentation/Swift/Encodable)

[`Copyable`](/documentation/Swift/Copyable)

[`ClampableWithinRectProtocol`](/documentation/Spatial/ClampableWithinRectProtocol)

[`Rotatable3DProtocol`](/documentation/Spatial/Rotatable3DProtocol)

[`ProjectiveTransformable3D`](/documentation/Spatial/ProjectiveTransformable3D)

[`Decodable`](/documentation/Swift/Decodable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)