Affine3D

class Affine3D(matrix: Matrix4dc) : AbstractAffine

Affine transformation matrix and operations in 3D.

Parameters

matrix

internal matrix of adapting library

Constructors

Link copied to clipboard
constructor(matrix: Matrix4dc)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun append(other: Affine3D): Affine3D

Appends another transformation matrix.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Extracts the rotation of the Affine3D transformation matrix to a Rotation3D.

Link copied to clipboard

Extracts the rotation of the Affine3D transformation matrix.

Link copied to clipboard

Extracts the scale vector of the Affine3D transformation matrix. See the wikipedia article of scaling (geometry).

Link copied to clipboard

Extracts the translation vector of the Affine3D transformation matrix.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
@JvmName(name = "inverseTransformOfListVector3D")
fun inverseTransform(points: List<Vector3D>): List<Vector3D>
@JvmName(name = "inverseTransformOfListPolygon3D")
fun inverseTransform(polygons: List<Polygon3D>): List<Polygon3D>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toMatrix4JOML(): Matrix4d
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
@JvmName(name = "transformOfNonEmptyListVector3D")
fun transform(points: NonEmptyList<Vector3D>): NonEmptyList<Vector3D>
@JvmName(name = "transformOfListVector3D")
fun transform(points: List<Vector3D>): List<Vector3D>
@JvmName(name = "transformOfListPolygon3D")
fun transform(polygons: List<Polygon3D>): List<Polygon3D>