Skip to content
  • Henry Weller's avatar
    23a87793
    septernion: Changed definition of the forward transformation for consistency with spatialTransform · 23a87793
    Henry Weller authored
    inline Foam::vector Foam::septernion::transformPoint(const vector& v) const
    {
        return r().transform(v - t());
    }
    
    Now there is a 1:1 correspondence between septernion and
    spatialTransform and a septernion constructor from spatialTransform
    provided.
    
    Additionally "septernion::transform" has been renamed
    "septernion::transformPoint" to clarify that it transforms coordinate
    points rather than displacements or other relative vectors.
    23a87793
    septernion: Changed definition of the forward transformation for consistency with spatialTransform
    Henry Weller authored
    inline Foam::vector Foam::septernion::transformPoint(const vector& v) const
    {
        return r().transform(v - t());
    }
    
    Now there is a 1:1 correspondence between septernion and
    spatialTransform and a septernion constructor from spatialTransform
    provided.
    
    Additionally "septernion::transform" has been renamed
    "septernion::transformPoint" to clarify that it transforms coordinate
    points rather than displacements or other relative vectors.
Loading