Transformation.ChangeBasis (Plane, Plane) Method

Computes a change of basis transformation.
Public Function ChangeBasis( _ 
ByVal initial As Plane, _ 
ByVal final As Plane
) As Boolean
This language is not supported or no code example is available.
public bool ChangeBasis( 
Plane initial
Plane final 
)
This language is not supported or no code example is available.

Parameters

initial
Plane

Initial plane

final
Plane

Final plane

Return Value

bool

True if the operation succeeded, false otherwise

Remarks
 

If you have points defined with respect to planes, the version of ChangeBasis() that takes two planes computes the transformation to change coordinates from one plane to another. The predefined world plane Plane.XY can be used as an argument.

If P = plane0.Evaluate(a0, b0, c0)

and (a1,b1,c1) = ChangeBasis(plane0, plane1) * new Point3D(a0, b0, c0)

then P = plane1.Evaluate(a1, b1, c1)

The version of ChangeBasis() that takes six vectors maps (a0, b0, c0) to (a1, b1, c1) where a0*X0 + b0*Y0 + c0*Z0 = a1*X1 + b1*Y1 + c1*Z1.

The version of ChangeBasis() that takes six vectors with center points maps (a0, b0, c0) to (a1, b1, c1) where P0 + a0*X0 + b0*Y0 + c0*Z0 = P1 + a1*X1 + b1*Y1 + c1*Z1.

The change of basis transformation is not the same as the rotation transformation that rotates one orthonormal frame to another. See the Rotation() method.

.NET Framework

Supported in: 4.8

In this article

Definition