Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Transformation Class / ChangeBasis Method / ChangeBasis(Point3D,Vector3D,Vector3D,Vector3D,Point3D,Vector3D,Vector3D,Vector3D) Method
Initial frame center
Initial frame X (X,Y,Z = arbitrary basis)
Initial frame Y
Initial frame Z
Final frame center
Final frame X (X,Y,Z = arbitrary basis)
Final frame Y
Final frame Z

In This Topic
    ChangeBasis(Point3D,Vector3D,Vector3D,Vector3D,Point3D,Vector3D,Vector3D,Vector3D) Method
    In This Topic
    Computes a change of basis transformation.
    Syntax
    'Declaration
     
    Public Overloads Function ChangeBasis( _
       ByVal P0 As Point3D, _
       ByVal X0 As Vector3D, _
       ByVal Y0 As Vector3D, _
       ByVal Z0 As Vector3D, _
       ByVal P1 As Point3D, _
       ByVal X1 As Vector3D, _
       ByVal Y1 As Vector3D, _
       ByVal Z1 As Vector3D _
    ) As Boolean
    public bool ChangeBasis( 
       Point3D P0,
       Vector3D X0,
       Vector3D Y0,
       Vector3D Z0,
       Point3D P1,
       Vector3D X1,
       Vector3D Y1,
       Vector3D Z1
    )

    Parameters

    P0
    Initial frame center
    X0
    Initial frame X (X,Y,Z = arbitrary basis)
    Y0
    Initial frame Y
    Z0
    Initial frame Z
    P1
    Final frame center
    X1
    Final frame X (X,Y,Z = arbitrary basis)
    Y1
    Final frame Y
    Z1
    Final frame Z

    Return Value

    True if the operation succeeded, false otherwise.
    Remarks
    Change of basis transformations and rotation transformations are often confused. This is a change of basis transformation. If Q = P0 + a0*X0 + b0*Y0 + c0*Z0 = P1 + a1*X1 + b1*Y1 + c1*Z1 then this transform will map the point (a0,b0,c0) to (a1,b1,c1)
    See Also