CSMath.Transform - DomCR/ACadSharp GitHub Wiki

Transform Class

Contains the information for translate/scale/rotation or transform matrix to apply to a geometric shape.

Definition

Namespace: CSMath

C#

public class Transform

Properties

Returns Name Summary
XYZ EulerRotation Rotation in Euler angles, the value is in degrees.
Matrix4 Matrix Transform matrix.
Quaternion Quaternion Rotation represented in quaternion form.
XYZ Scale Scale applied in the transformation.
XYZ Translation Translation applied in the transformation.

Methods

Returns Name Summary
XYZ ApplyTransform(CSMath.XYZ, System.Boolean) Apply transform to a .
Boolean TryDecompose(CSMath.XYZ@, CSMath.XYZ@, CSMath.Quaternion@) Try to decompose the transform into it's components.