applying
TypeScriptapplying(transform: AffineTransform3D): Point3DSwift declarationfunc applying(_ transform: AffineTransform3D) -> Point3Dstruct · iOS 16.0+ · SDK 27.1
struct Point3Dapplying(transform: AffineTransform3D): Point3DSwift declarationfunc applying(_ transform: AffineTransform3D) -> Point3Dapplying2397(transform: ProjectiveTransform3D): Point3DSwift declarationfunc applying(_ transform: ProjectiveTransform3D) -> Point3Dclamped(rect: Rect3D): Point3DSwift declarationfunc clamped(to rect: Rect3D) -> Point3Ddistance(other: Point3D): numberSwift declarationfunc distance(to other: Point3D) -> Doubleget isFinite(): booleanSwift declarationvar isFinite: Bool { get }get isNaN(): booleanSwift declarationvar isNaN: Bool { get }get isZero(): booleanSwift declarationvar isZero: Bool { get }rotatedBy(rotation: Rotation3D): Point3DSwift declarationfunc rotated(by rotation: Rotation3D) -> Point3DrotatedByAround(rotation: Rotation3D, pivot: Point3D): Point3DSwift declarationfunc rotated(by rotation: Rotation3D, around pivot: Point3D) -> Point3DrotatedBy92204(quaternion: SDKHandle): Point3DSwift declarationfunc rotated(by quaternion: simd_quatd) -> Point3DrotatedByAround74328(quaternion: SDKHandle, pivot: Point3D): Point3DSwift declarationfunc rotated(by quaternion: simd_quatd, around pivot: Point3D) -> Point3Drotation(other: Point3D): Rotation3DSwift declarationfunc rotation(to other: Point3D) -> Rotation3DtranslatedBy(offset: Vector3D): Point3DSwift declarationfunc translated(by offset: Vector3D) -> Point3Dunapplying(transform: AffineTransform3D): Point3DSwift declarationfunc unapplying(_ transform: AffineTransform3D) -> Point3Dunapplying47776(transform: ProjectiveTransform3D): Point3DSwift declarationfunc unapplying(_ transform: ProjectiveTransform3D) -> Point3Dstatic get infinity(): Point3DSwift declarationstatic let infinity: Point3Dstatic get zero(): Point3DSwift declarationstatic let zero: Point3Dget vector(): SDKHandleSwift declarationvar vector: simd_double3 { get set }set vector(value: SDKHandle)Swift declarationvar vector: simd_double3 { get set }get x(): numberSwift declarationvar x: Double { get set }set x(value: number)Swift declarationvar x: Double { get set }get y(): numberSwift declarationvar y: Double { get set }set y(value: number)Swift declarationvar y: Double { get set }get z(): numberSwift declarationvar z: Double { get set }set z(value: number)Swift declarationvar z: Double { get set }static initVector(vector: SDKHandle): Point3DSwift declarationinit(vector: simd_double3)translatedBy46426(size: Size3D): Point3DSwift declarationfunc translated(by size: Size3D) -> Point3DReturns the entity translated by the specified size. - Parameter size: The size structure that defines that translation.
unapplying97777(pose: ScaledPose3D): Point3DSwift declarationfunc unapplying(_ pose: ScaledPose3D) -> Point3DReturns the primitive that results from unapplying a scaled pose to the primitive. - Parameter pose: The scaled pose. - Returns The transformed primitive.
unapplying85026(pose: Pose3D): Point3DSwift declarationfunc unapplying(_ pose: Pose3D) -> Point3DReturns the primitive that results from applying a pose to the primitive. - Parameter pose: The pose. - Returns The transformed primitive.
get description(): stringSwift declarationvar 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 customMirror(): SDKHandleSwift declarationvar customMirror: Mirror { get }The custom mirror for this instance.
static initXYZ(x?: number, y?: number, z?: number): Point3DSwift declarationinit(x: Double = 0, y: Double = 0, z: Double = 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.
static initXYZ39734(x: number, y: number, z: number): Point3DSwift declarationinit<T>(x: T, y: T, z: T) where T : BinaryFloatingPointReturns a new point from the floating-point values. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.
isApproximatelyEqual(other: Point3D, tolerance?: number): booleanSwift declarationfunc isApproximatelyEqual(to other: Point3D, tolerance: Double = sqrt(.ulpOfOne)) -> BoolReturns 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.
get simd(): SDKHandleSwift declarationvar simd: simd_double3 { get set }set simd(value: SDKHandle)Swift declarationvar simd: simd_double3 { get set }clamp(rect: Rect3D): voidSwift declarationmutating func clamp(to rect: Rect3D)Clamps the mutable point to the specified rectangle. - Parameter rect: The rectangle that defines the clamp volume.
get origin(): Point3DSwift declarationvar origin: Point3D { get }applying84967(scaledPose: ScaledPose3D): Point3DSwift declarationfunc applying(_ scaledPose: ScaledPose3D) -> Point3DReturns the primitive that results from applying a scaled pose to the primitive. - Parameter pose: The scaled pose. - Returns The transformed primitive.
applying5132(pose: Pose3D): Point3DSwift declarationfunc applying(_ pose: Pose3D) -> Point3DReturns the primitive that results from applying a pose to the primitive. - Parameter pose: The pose. - Returns The transformed primitive.
static init(point: Point3DFloat): Point3DSwift declarationinit(_ point: Point3DFloat)Returns a double-precision point from a single-precision point.
static init2995(xyz: Vector3D): Point3DSwift declarationinit(_ xyz: Vector3D)Returns a new point from a Spatial vector. - Parameter xyz: The source vector.
static init63521(coords: SphericalCoordinates3D): Point3DSwift declarationinit(_ coords: SphericalCoordinates3D)Creates a new point structure that contains the spherical coordinates converted to Cartesian coordinates. - Parameter coords: The spherical coordinates.
static init83816(size: Size3D): Point3DSwift declarationinit(_ size: Size3D)Returns a new point from a size. - Parameter size: The source size.
static init81629(xyz: SDKHandle): Point3DSwift declarationinit(_ xyz: simd_double3)Returns a new point from a double-precision vector. - Parameter xyz: The source vector.
static init22947(xyz: SDKHandle): Point3DSwift declarationinit(_ xyz: simd_float3)Returns a new point from a single-precision vector. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.
static init39640(source: SDKHandle): Point3DSwift declarationinit(_ source: simd_packed_double4)Creates a Spatial point from a simd packed vector.
static init19110(): Point3DSwift declarationinit()No declarations were skipped in this snapshot.