Click or drag to resize
TransformChangeBasis Method (Vector3d, Vector3d, Vector3d, Vector3d, Vector3d, Vector3d)
Computes a change of basis transformation. A basis change is essentially a remapping of geometry from one coordinate system to another.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static Transform ChangeBasis(
	Vector3d initialBasisX,
	Vector3d initialBasisY,
	Vector3d initialBasisZ,
	Vector3d finalBasisX,
	Vector3d finalBasisY,
	Vector3d finalBasisZ
)

Parameters

initialBasisX
Type: Rhino.GeometryVector3d
can be any 3d basis.
initialBasisY
Type: Rhino.GeometryVector3d
can be any 3d basis.
initialBasisZ
Type: Rhino.GeometryVector3d
can be any 3d basis.
finalBasisX
Type: Rhino.GeometryVector3d
can be any 3d basis.
finalBasisY
Type: Rhino.GeometryVector3d
can be any 3d basis.
finalBasisZ
Type: Rhino.GeometryVector3d
can be any 3d basis.

Return Value

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