applying
TypeScriptapplying(transform: AffineTransform3DFloat): Size3DFloatSwift declarationfunc applying(_ transform: AffineTransform3DFloat) -> Size3DFloatstruct · iOS 26.0+ · SDK 27.1
struct Size3DFloatapplying(transform: AffineTransform3DFloat): Size3DFloatSwift declarationfunc applying(_ transform: AffineTransform3DFloat) -> Size3DFloatapplying1641(transform: ProjectiveTransform3DFloat): Size3DFloatSwift declarationfunc applying(_ transform: ProjectiveTransform3DFloat) -> Size3DFloatcontainsPoint(other: Point3DFloat): booleanSwift declarationfunc contains(point other: Point3DFloat) -> Boolcontains(other: Size3DFloat): booleanSwift declarationfunc contains(_ other: Size3DFloat) -> Boolget isFinite(): booleanSwift declarationvar isFinite: Bool { get }get isNaN(): booleanSwift declarationvar isNaN: Bool { get }get isZero(): booleanSwift declarationvar isZero: Bool { get }rotatedBy(rotation: Rotation3DFloat): Size3DFloatSwift declarationfunc rotated(by rotation: Rotation3DFloat) -> Size3DFloatrotatedBy6992(quaternion: SDKHandle): Size3DFloatSwift declarationfunc rotated(by quaternion: simd_quatf) -> Size3DFloatscaled(scale: Size3DFloat): Size3DFloatSwift declarationfunc scaled(by scale: Size3DFloat) -> Size3DFloatuniformlyScaled(scale: number): Size3DFloatSwift declarationfunc uniformlyScaled(by scale: Float) -> Size3DFloatunion(other: Size3DFloat): Size3DFloatSwift declarationfunc union(_ other: Size3DFloat) -> Size3DFloatstatic get infinity(): Size3DFloatSwift declarationstatic let infinity: Size3DFloatstatic get zero(): Size3DFloatSwift declarationstatic let zero: Size3DFloatget vector(): SDKHandleSwift declarationvar vector: simd_float3 { get set }set vector(value: SDKHandle)Swift declarationvar vector: simd_float3 { get set }get depth(): numberSwift declarationvar depth: Float { get set }set depth(value: number)Swift declarationvar depth: Float { get set }get height(): numberSwift declarationvar height: Float { get set }set height(value: number)Swift declarationvar height: Float { get set }get width(): numberSwift declarationvar width: Float { get set }set width(value: number)Swift declarationvar width: Float { get set }static initVector(vector: SDKHandle): Size3DFloatSwift declarationinit(vector: simd_float3)unapplying(scaledPose: ScaledPose3DFloat): Size3DFloatSwift declarationfunc unapplying(_ scaledPose: ScaledPose3DFloat) -> Size3DFloatReturns the primitive that results from applying a scaled pose to the primitive. - Parameter pose: The scaled pose. - Returns The transformed primitive.
unapplying16485(transform: AffineTransform3DFloat): Size3DFloatSwift declarationfunc unapplying(_ transform: AffineTransform3DFloat) -> Size3DFloatUnapplies an affine transform. - Parameter transform: The affine transform. - Note: The transform must be rectilinear otherwise this function returns `self`.
unapplying81554(transform: ProjectiveTransform3DFloat): Size3DFloatSwift declarationfunc unapplying(_ transform: ProjectiveTransform3DFloat) -> Size3DFloatUnapplies a projective transform. - Parameter transform: The projective transform.
unapplying821(pose: Pose3DFloat): Size3DFloatSwift declarationfunc unapplying(_ pose: Pose3DFloat) -> Size3DFloatReturns 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.
intersection(other: Size3DFloat): (Size3DFloat) | nullSwift declarationfunc intersection(_ other: Size3DFloat) -> Size3DFloat?Returns the intersection of two volumetric entities. - Parameter other: The second primitive. - Returns The intersection of `self` and `other`.
static get one(): Size3DFloatSwift declarationstatic let one: Size3DFloatA size with a width, height, and depth of `1`.
get size(): Size3DFloatSwift declarationvar size: Size3DFloat { get }The size of the volume.
static initWidthHeightDepth(width?: number, height?: number, depth?: number): Size3DFloatSwift declarationinit(width: Float = 0, height: Float = 0, depth: Float = 0)Returns a size structure from the specified values. - Parameter width: The width of the size. - Parameter height: The height of the size. - Parameter depth: The width of the depth.
static initWidthHeightDepth27956(width: number, height: number, depth: number): Size3DFloatSwift declarationinit<T>(width: T, height: T, depth: 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 single-precision.
sheared(shear: AxisWithFactors): Size3DFloatSwift declarationfunc sheared(_ shear: AxisWithFactors) -> Size3DFloatReturns a sheared size. - Parameter shear: The axis and shear factors. - Returns The sheared size.
applying13490(scaledPose: ScaledPose3DFloat): Size3DFloatSwift declarationfunc applying(_ scaledPose: ScaledPose3DFloat) -> Size3DFloatReturns the primitive that results from applying a scaled pose to the primitive. - Parameter pose: The scaled pose. - Returns The transformed primitive.
applying45143(pose: Pose3DFloat): Size3DFloatSwift declarationfunc applying(_ pose: Pose3DFloat) -> Size3DFloatReturns the primitive that results from applying a pose to the primitive. - Parameter pose: The pose. - Returns The transformed primitive.
containsAnyOf(points: Array<Point3DFloat>): booleanSwift declarationfunc contains(anyOf points: [Point3DFloat]) -> BoolReturns a Boolean value that indicates whether this volume contains any of the specified points. - Parameter points: An array of points. - Returns A Boolean value that indicates whether `self` contains any of the specified points.
scaledBy(x?: number, y?: number, z?: number): Size3DFloatSwift declarationfunc scaledBy(x: Float = 1, y: Float = 1, z: Float = 1) -> Size3DFloatReturns the size scaled by the specified values. - Parameter x: The scale factor on the `x` dimension. - Parameter y: The scale factor on the `y` dimension. - Parameter z: The scale factor on the `z` dimension. - Returns The scaled size.
static init(point: Point3DFloat): Size3DFloatSwift declarationinit(_ point: Point3DFloat)Returns a size structure from the specified point. - Parameter point: The source point.
static init3159(xyz: Vector3DFloat): Size3DFloatSwift declarationinit(_ xyz: Vector3DFloat)Returns a size structure from the specified Spatial vector. - Parameter xyz: The source vector.
static init12223(size: Size3D): Size3DFloatSwift declarationinit(_ size: Size3D)Returns a single-precision size from a double-precision size.
static init69089(xyz: SDKHandle): Size3DFloatSwift declarationinit(_ xyz: simd_double3)Returns a new point from a single-precision vector. - note: This function is provided as a convenience. All Spatial storage and calculations are single-precision.
static init8599(xyz: SDKHandle): Size3DFloatSwift declarationinit(_ xyz: simd_float3)Returns a size structure from the specified 3-element vector. - Parameter xyz: The source vector.
static init85758(source: SDKHandle): Size3DFloatSwift declarationinit(_ source: simd_packed_float4)Creates a Spatial size from a simd packed vector.
static init30786(): Size3DFloatSwift declarationinit()No declarations were skipped in this snapshot.