Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Transformation Class / ChangeBasis Method / ChangeBasis(Plane,Plane) Method
Initial plane
Final plane

In This Topic
    ChangeBasis(Plane,Plane) Method
    In This Topic
    Computes a change of basis transformation.
    Syntax
    'Declaration
     
    Public Overloads Function ChangeBasis( _
       ByVal initial As Plane, _
       ByVal final As Plane _
    ) As Boolean
    public bool ChangeBasis( 
       Plane initial,
       Plane final
    )

    Parameters

    initial
    Initial plane
    final
    Final plane

    Return Value

    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.

    See Also