concatenating
TypeScriptconcatenating(t2: AffineTransform3D): AffineTransform3DSwift declarationfunc concatenating(_ t2: AffineTransform3D) -> AffineTransform3Dstruct · iOS 16.0+ · SDK 27.1
struct AffineTransform3Dconcatenating(t2: AffineTransform3D): AffineTransform3DSwift declarationfunc concatenating(_ t2: AffineTransform3D) -> AffineTransform3Dget matrix3x3(): SDKHandleSwift declarationvar matrix3x3: simd_double3x3 { get }get matrix4x4(): SDKHandleSwift declarationvar matrix4x4: simd_double4x4 { get }get scale(): Size3DSwift declarationvar scale: Size3D { get }get isIdentity(): booleanSwift declarationvar isIdentity: Bool { get }get isInvertible(): booleanSwift declarationvar isInvertible: Bool { get }get isRectilinear(): booleanSwift declarationvar isRectilinear: Bool { get }get isTranslation(): booleanSwift declarationvar isTranslation: Bool { get }get isUniform(): booleanSwift declarationvar isUniform: Bool { get }static initRotation(rotation: Rotation3D): AffineTransform3DSwift declarationinit(rotation: Rotation3D)static initScale(scale: Size3D): AffineTransform3DSwift declarationinit(scale: Size3D)static initTranslation(offset: Vector3D): AffineTransform3DSwift declarationinit(translation offset: Vector3D)static init(matrix: SDKHandle): AffineTransform3DSwift declarationinit(_ matrix: simd_double4x3)static initTruncating(matrix: SDKHandle): AffineTransform3DSwift declarationinit(truncating matrix: simd_double4x4)static initTruncating63499(transform: ProjectiveTransform3D): AffineTransform3DSwift declarationinit(truncating transform: ProjectiveTransform3D)rotatedBy(rotation: Rotation3D): AffineTransform3DSwift declarationfunc rotated(by rotation: Rotation3D) -> AffineTransform3DrotatedBy49800(quaternion: SDKHandle): AffineTransform3DSwift declarationfunc rotated(by quaternion: simd_quatd) -> AffineTransform3Dscaled(scale: Size3D): AffineTransform3DSwift declarationfunc scaled(by scale: Size3D) -> AffineTransform3DuniformlyScaled(scale: number): AffineTransform3DSwift declarationfunc uniformlyScaled(by scale: Double) -> AffineTransform3DtranslatedBy(offset: Vector3D): AffineTransform3DSwift declarationfunc translated(by offset: Vector3D) -> AffineTransform3Dget matrix(): SDKHandleSwift declarationvar matrix: simd_double4x3set matrix(value: SDKHandle)Swift declarationvar matrix: simd_double4x3static get identity(): AffineTransform3DSwift declarationstatic let identity: AffineTransform3Dstatic initMatrix(matrix: SDKHandle): AffineTransform3DSwift declarationinit(matrix: simd_double4x3)static initScaledPose(scaledPose: ScaledPose3D): AffineTransform3DSwift declarationinit(scaledPose: ScaledPose3D)translatedBy63138(size: Size3D): AffineTransform3DSwift declarationfunc translated(by size: Size3D) -> AffineTransform3DReturns the entity translated by the specified size. - Parameter size: The size structure that defines that translation.
static initTruncating50825(matrix: SDKHandle): AffineTransform3DSwift declarationinit(truncating matrix: simd_float4x4)Returns a new affine transform from a single-precision 4 x 4 matrix truncated to a 4 x 3 matrix. - Parameter matrix: The source matrix. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.
changeBasis(from: AffineTransform3D, to: AffineTransform3D): (AffineTransform3D) | nullSwift declarationfunc changeBasis(from: AffineTransform3D = .identity, to: AffineTransform3D) -> AffineTransform3D?Returns a new affine transform structure by applying a change-of-basis. - Parameter from: The old basis. - Parameter to: The new basis. - returns: A new affine transform structure.
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.
static initTranslation40947(translation: Size3D): AffineTransform3DSwift declarationinit(translation: Size3D)get translation(): Vector3DSwift declarationvar translation: Vector3D { get set }The translation component
set translation(value: Vector3D)Swift declarationvar translation: Vector3D { get set }The translation component
get customMirror(): SDKHandleSwift declarationvar customMirror: Mirror { get }The custom mirror for this instance.
static initProjectiveTransform(transform: ProjectiveTransform3D): (AffineTransform3D) | nullSwift declarationinit?(projectiveTransform transform: ProjectiveTransform3D)Returns a new affine transform from a projective transform. - Parameter transform: The source projective transform. - Note The projective transform must be affine, that is, its last row must be `0, 0, 0, 1`, otherwise this initialiser returns `nil`.
isApproximatelyEqual(other: AffineTransform3D, tolerance?: number): booleanSwift declarationfunc isApproximatelyEqual(to other: AffineTransform3D, tolerance: Double = sqrt(.ulpOfOne)) -> BoolReturns a Boolean value that indicates whether two transforms are equal within a specified tolerance. - Parameter transform: The second transform. - Parameter tolerance: The tolerance of the comparison.
flip(axis: Axis3D): voidSwift declarationmutating func flip(along axis: Axis3D)Flips the transform along the specified axis. - Parameter axis: The axis of the flip operation.
static initPose(pose: Pose3D): AffineTransform3DSwift declarationinit(pose: Pose3D)Returns a new transform from the specified pose. - Parameter pose: The source pose
static initScaleRotationTranslation(scale: Size3D, rotation: Rotation3D, translation: Size3D): AffineTransform3DSwift declarationinit(scale: Size3D = Size3D(width: 1.0, height: 1, depth: 1), rotation: Rotation3D = .zero, translation: Size3D)Returns a new scale, rotate, translate transform. - Parameter scale: The scale. - Parameter rotation: The rotation. - Parameter translation: The translation.
static initScaleRotationTranslation39069(scale?: Size3D, rotation?: Rotation3D, translation?: Vector3D): AffineTransform3DSwift declarationinit(scale: Size3D = Size3D(width: 1.0, height: 1, depth: 1), rotation: Rotation3D = .zero, translation: Vector3D = .zero)Returns a new scale, rotate, translate transform. - Parameter scale: The scale. - Parameter rotation: The rotation. - Parameter translation: The translation.
static initShear(shear: AxisWithFactors): AffineTransform3DSwift declarationinit(shear: AxisWithFactors)Returns a new shear transform - Parameter shear: The shear.
static initMatrix68970(matrix: SDKHandle): (AffineTransform3D) | nullSwift declarationinit?(matrix: simd_float4x4)Returns a new affine transform from a single-precision 4 x 4 matrix. - Parameter matrix: The source matrix. - Note The the last row of the source matrix must be `0, 0, 0, 1`, otherwise this initialiser returns `nil`. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.
static initMatrix33370(matrix: SDKHandle): (AffineTransform3D) | nullSwift declarationinit?(matrix: simd_double4x4)Returns a new affine transform from a double-precision 4 x 4 matrix. - Parameter matrix: The source matrix. - Note The the last row of the source matrix must be `0, 0, 0, 1`, otherwise this initialiser returns `nil`.
static initMatrix56657(matrix: SDKHandle): AffineTransform3DSwift declarationinit(matrix: simd_float4x3)Returns a new affine transform structure from the specified single-precision 4 x 3 matrix. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.
get offset(): Vector3DSwift declarationvar offset: Vector3D { get set }set offset(value: Vector3D)Swift declarationvar offset: Vector3D { get set }get columns(): [Vector3D, Vector3D, Vector3D, Vector3D]Swift declarationvar columns: (Vector3D, Vector3D, Vector3D, Vector3D) { get }The columns of the underlying matrix.
flipped(axis: Axis3D): AffineTransform3DSwift declarationfunc flipped(along axis: Axis3D) -> AffineTransform3DReturns the transform flipped along the specified axis. - Parameter axis: The axis of the flip operation.
get inverse(): (AffineTransform3D) | nullSwift declarationvar inverse: AffineTransform3D? { get }The affine transform's inverse. If the source transform isn't invertible, this value is `nil`.
sheared(shear: AxisWithFactors): AffineTransform3DSwift declarationfunc sheared(_ shear: AxisWithFactors) -> AffineTransform3DReturns the transform sheared by the specified shear. - Parameter shear: The axis and shear factors. - Returns The sheared transform.
inverted(): (AffineTransform3D) | nullSwift declarationfunc inverted() -> AffineTransform3D?get rotation(): (Rotation3D) | nullSwift declarationvar rotation: Rotation3D? { get }The affine transform's rotation. This function can't extract rotation from a non-scale-rotate-translate affine transform. In that case, the function returns `nil`.
scaledBy(x?: number, y?: number, z?: number): AffineTransform3DSwift declarationfunc scaledBy(x: Double = 1, y: Double = 1, z: Double = 1) -> AffineTransform3DReturns the transform 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 transform.
isUniformOverDimensions(overDimensions: Dimension3DSet): booleanSwift declarationfunc isUniform(overDimensions: Dimension3DSet) -> BoolReturns `true` if the transform is uniform over the specified dimensions. - Parameter overDimensions: The dimensions that the function tests are uniform. If you specify `overDimensions` as `Dimension3DSet.all`, the function returns the same result as `Transform3D.getter:isUniform`. If you specify as `overDimensions` with zero or one dimension, the function returns the same result as `Transform3D.getter:isRectilinear`.
static init4476(): AffineTransform3DSwift declarationinit()Returns a new identity affine transform.
static init51967(matrix: SDKHandle): (AffineTransform3D) | nullSwift declarationinit?(_ matrix: simd_float4x4)Returns a new affine transform from a single-precision 4 x 4 matrix. - Parameter matrix: The source matrix. - Note The the last row of the source matrix must be `0, 0, 0, 1`, otherwise this initialiser returns `nil`. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.
static init50055(matrix: SDKHandle): (AffineTransform3D) | nullSwift declarationinit?(_ matrix: simd_double4x4)Returns a new affine transform from a double-precision 4 x 4 matrix. - Parameter matrix: The source matrix. - Note The the last row of the source matrix must be `0, 0, 0, 1`, otherwise this initialiser returns `nil`.
static init74456(transform: AffineTransform3DFloat): AffineTransform3DSwift declarationinit(_ transform: AffineTransform3DFloat)Returns a double-precision affine transformation from a single-precision affine transformation.
static init64960(matrix: SDKHandle): AffineTransform3DSwift declarationinit(_ matrix: simd_float4x3)Returns a new affine transform structure from the specified single-precision 4 x 3 matrix. - note: This function is provided as a convenience. All Spatial storage and calculations are double-precision.
static init74606(): AffineTransform3DSwift declarationinit()Returns a new identity affine transform.
No declarations were skipped in this snapshot.