applying
TypeScriptapplying(transform: AffineTransform3D): Size3DSwift declarationfunc applying(_ transform: AffineTransform3D) -> Size3Dstruct · iOS 16.0+ · SDK 27.1
struct Size3Dapplying(transform: AffineTransform3D): Size3DSwift declarationfunc applying(_ transform: AffineTransform3D) -> Size3Dapplying83077(transform: ProjectiveTransform3D): Size3DSwift declarationfunc applying(_ transform: ProjectiveTransform3D) -> Size3DcontainsPoint(other: Point3D): booleanSwift declarationfunc contains(point other: Point3D) -> Boolcontains(other: Size3D): booleanSwift declarationfunc contains(_ other: Size3D) -> Boolget isFinite(): booleanSwift declarationvar isFinite: Bool { get }get isNaN(): booleanSwift declarationvar isNaN: Bool { get }get isZero(): booleanSwift declarationvar isZero: Bool { get }rotatedBy(rotation: Rotation3D): Size3DSwift declarationfunc rotated(by rotation: Rotation3D) -> Size3DrotatedBy29826(quaternion: SDKHandle): Size3DSwift declarationfunc rotated(by quaternion: simd_quatd) -> Size3Dscaled(scale: Size3D): Size3DSwift declarationfunc scaled(by scale: Size3D) -> Size3DuniformlyScaled(scale: number): Size3DSwift declarationfunc uniformlyScaled(by scale: Double) -> Size3Dunion(other: Size3D): Size3DSwift declarationfunc union(_ other: Size3D) -> Size3Dstatic get infinity(): Size3DSwift declarationstatic let infinity: Size3Dstatic get zero(): Size3DSwift declarationstatic let zero: Size3Dget vector(): SDKHandleSwift declarationvar vector: simd_double3 { get set }set vector(value: SDKHandle)Swift declarationvar vector: simd_double3 { get set }get depth(): numberSwift declarationvar depth: Double { get set }set depth(value: number)Swift declarationvar depth: Double { get set }get height(): numberSwift declarationvar height: Double { get set }set height(value: number)Swift declarationvar height: Double { get set }get width(): numberSwift declarationvar width: Double { get set }set width(value: number)Swift declarationvar width: Double { get set }static initVector(vector: SDKHandle): Size3DSwift declarationinit(vector: simd_double3)unapplying(scaledPose: ScaledPose3D): Size3DSwift declarationfunc unapplying(_ scaledPose: ScaledPose3D) -> Size3DReturns the primitive that results from applying a scaled pose to the primitive. - Parameter pose: The scaled pose. - Returns The transformed primitive.
unapplying21518(transform: AffineTransform3D): Size3DSwift declarationfunc unapplying(_ transform: AffineTransform3D) -> Size3DUnapplies an affine transform. - Parameter transform: The affine transform. - Note: The transform must be rectilinear otherwise this function returns `self`.
unapplying22975(transform: ProjectiveTransform3D): Size3DSwift declarationfunc unapplying(_ transform: ProjectiveTransform3D) -> Size3DUnapplies a projective transform. - Parameter transform: The projective transform.
unapplying46554(pose: Pose3D): Size3DSwift declarationfunc unapplying(_ pose: Pose3D) -> Size3DReturns the primitive that results from applying a pose to the primitive. - Parameter pose: The pose. - Returns The transformed primitive.
containsAny(points: Array<Point3D>): booleanSwift declarationfunc containsAny(of points: [Point3D]) -> 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.
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: Size3D): (Size3D) | nullSwift declarationfunc intersection(_ other: Size3D) -> Size3D?Returns the intersection of two volumetric entities. - Parameter other: The second primitive. - Returns The intersection of `self` and `other`.
static get one(): Size3DSwift declarationstatic let one: Size3DA size with a width, height, and depth of `1`.
get simd(): SDKHandleSwift declarationvar simd: simd_double3 { get set }set simd(value: SDKHandle)Swift declarationvar simd: simd_double3 { get set }get size(): Size3DSwift declarationvar size: Size3D { get }The size of the volume.
static initWidthHeightDepth(width?: number, height?: number, depth?: number): Size3DSwift declarationinit(width: Double = 0, height: Double = 0, depth: Double = 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 initWidthHeightDepth30320(width: number, height: number, depth: number): Size3DSwift 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 double-precision.
sheared(shear: AxisWithFactors): Size3DSwift declarationfunc sheared(_ shear: AxisWithFactors) -> Size3DReturns a sheared size. - Parameter shear: The axis and shear factors. - Returns The sheared size.
applying58719(scaledPose: ScaledPose3D): Size3DSwift declarationfunc applying(_ scaledPose: ScaledPose3D) -> Size3DReturns the primitive that results from applying a scaled pose to the primitive. - Parameter pose: The scaled pose. - Returns The transformed primitive.
applying44116(pose: Pose3D): Size3DSwift declarationfunc applying(_ pose: Pose3D) -> Size3DReturns the primitive that results from applying a pose to the primitive. - Parameter pose: The pose. - Returns The transformed primitive.
containsAnyOf(points: Array<Point3D>): booleanSwift declarationfunc contains(anyOf points: [Point3D]) -> 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): Size3DSwift declarationfunc scaledBy(x: Double = 1, y: Double = 1, z: Double = 1) -> Size3DReturns 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(size: Size3DFloat): Size3DSwift declarationinit(_ size: Size3DFloat)Returns a double-precision size from a single-precision size.
static init62779(xyz: Vector3D): Size3DSwift declarationinit(_ xyz: Vector3D)Returns a size structure from the specified Spatial vector. - Parameter xyz: The source vector.
static init40312(point: Point3D): Size3DSwift declarationinit(_ point: Point3D)Returns a size structure from the specified point. - Parameter point: The source point.
static init53157(xyz: SDKHandle): Size3DSwift declarationinit(_ xyz: simd_double3)Returns a size structure from the specified 3-element vector. - Parameter xyz: The source vector.
static init61867(xyz: SDKHandle): Size3DSwift 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 init21696(source: SDKHandle): Size3DSwift declarationinit(_ source: simd_packed_double4)Creates a Spatial size from a simd packed vector.
static init26542(): Size3DSwift declarationinit()No declarations were skipped in this snapshot.