Click or drag to resize

Transform3ChangeBasis Method (Vector3, Vector3, Vector3, Vector3, Vector3, Vector3)

Computes a change of basis transformation. A basis change is essentially a remapping of geometry from one coordinate system to another.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Transform3 ChangeBasis(
	Vector3 initialBasisX,
	Vector3 initialBasisY,
	Vector3 initialBasisZ,
	Vector3 finalBasisX,
	Vector3 finalBasisY,
	Vector3 finalBasisZ
)

Parameters

initialBasisX
Type: Karamba.GeometryVector3
can be any 3d basis.
initialBasisY
Type: Karamba.GeometryVector3
can be any 3d basis.
initialBasisZ
Type: Karamba.GeometryVector3
can be any 3d basis.
finalBasisX
Type: Karamba.GeometryVector3
can be any 3d basis.
finalBasisY
Type: Karamba.GeometryVector3
can be any 3d basis.
finalBasisZ
Type: Karamba.GeometryVector3
can be any 3d basis.

Return Value

Type: Transform3
A transformation matrix which orients geometry from one coordinate system to another on success. Transform.Unset on failure.
See Also