Trafo:
Filter:
Classes (extension) | Math | Geometry | Libraries > MathLib > Cartesian &c.

Trafo : Object
ExtensionExtension

A geometrical basis
Source: Trafo.sc

Description

A geometrical basis.

Part of MathLib, a diverse library of mathematical functions.

Class Methods

Trafo.new(basis, d)

Create new Basis from basis Vectors.

Arguments:

basis

Basic vector.

default = [ [1, 0, 0], [0, 1, 0], [0, 0, 1] ]

d

Position-vector.

default = 0

Trafo.basicNew(matrix)

Create new Basis from transformation.

Trafo.from3dPoints(a, b, c)

Create new Basis from 3d Points.

Trafo.inverseFrom3dPoints(a, b, c)

Create new Basis from 3d Points.

Inherited class methods

Undocumented class methods

Trafo.newFromRotTrans(rot, trans)

Instance Methods

.rotMatrix

Return the used rotation matrix

.basis

Return the basis vectors as: [[x1, x2, x3],[y1, y2, y3],[z1, z2, z3]]

.position

Return the translative part.

.inverse

Return a new instance where (t * t.inverse vmul: v) == v;

.vmul(aVec, scale: 1)

Transform aVec with scaling scale to the trafo-inherited basis.

Inherited instance methods

Undocumented instance methods

.matrix

Authors

Till Bovermann, 2006.