data class AffineSequence3D: Any

Represents a sequence of affine transformation matrices in 3D.

Fields

Name Description
val size: Int

number of Affine3D matrices contained in list

val affineList: List<Affine3D>

list of consecutively applied AffineSequence3D transformation matrices

Constructors

<init>

constructor(affineList: List<Affine3D>)

Represents a sequence of affine transformation matrices in 3D.

Parameters

Name Description
affineList: List<Affine3D>

list of consecutively applied AffineSequence3D transformation matrices

Methods

isEmpty

fun isEmpty(): Boolean

ReturnValue

Name Description
Boolean

isNotEmpty

fun isNotEmpty(): affineList.isNotEmpty()

ReturnValue

Name Description
affineList.isNotEmpty()

solve

fun solve(): Affine3D

Solves all contained Affine3D by multiplication and returns the resulting transformation matrix.

ReturnValue

Name Description
Affine3D

transformation matrix that applies the sequence of Affine3D matrices consecutively

CompanionObject

AffineSequence3D

data class AffineSequence3D: Any

Represents a sequence of affine transformation matrices in 3D.

Fields

Name Description
val EMPTY: AffineSequence3D

Methods

of

fun of(vararg affines: Affine3D): AffineSequence3D

Creates an AffineSequence2D by provided affines list.

Parameters

Name Description
vararg affines: Affine3D

ReturnValue

Name Description
AffineSequence3D