public interface VectorTransformer3d
| Modifier and Type | Method and Description | 
|---|---|
| void | inverseTransformCovec(Vector3d cr,
                     Vector3d c0)Applies an inverse transform to covector  c0and places the
 result incr. | 
| void | inverseTransformPnt(Vector3d pr,
                   Vector3d p0)Applies an inverse transform to point  p0and places the
 result inpr. | 
| void | inverseTransformVec(Vector3d vr,
                   Vector3d v0)Applies an inverse transform to vector  v0and places the
 result invr. | 
| boolean | isAffine()Returns  trueif this transformer implements a linear affine
 transform. | 
| boolean | isRigid()Returns  trueif this transformer implements a linear
 rigid transform. | 
| void | transformCovec(Vector3d cr,
              Vector3d c0)Transforms a covector  c0and places the result incr. | 
| void | transformPnt(Vector3d pr,
            Vector3d p0)Transforms point  p0and places the result inpr. | 
| void | transformVec(Vector3d vr,
            Vector3d v0)Transforms vector  v0and places the result invr. | 
void transformPnt(Vector3d pr, Vector3d p0)
p0 and places the result in
 pr.pr - returns the transformed pointp0 - point to be transformedvoid transformVec(Vector3d vr, Vector3d v0)
v0 and places the result in
 vr.vr - returns the transformed vectorv0 - vector to be transformedvoid transformCovec(Vector3d cr, Vector3d c0)
c0 and places the result in
 cr. If a vector is transformed linearly according to
 vr = A v0,then the covector will be transformed according to
         -1 T 
   cr = A     c0,
 
 Normal vectors and gradients are generally transformed as covectors.
 In the case of normals, the application will need to normalize the
 result if this transformation is not rigid.cr - returns the transformed covectorc0 - normal to be transformedvoid inverseTransformPnt(Vector3d pr, Vector3d p0)
p0 and places the
 result in pr.pr - returns the transformed pointp0 - point to be transformedvoid inverseTransformVec(Vector3d vr, Vector3d v0)
v0 and places the
 result in vr.vr - returns the transformed vectorv0 - vector to be transformedvoid inverseTransformCovec(Vector3d cr, Vector3d c0)
c0 and places the
 result in cr. See transformCovec(maspack.matrix.Vector3d, maspack.matrix.Vector3d) for more
 details about covector transformation.cr - returns the transformed normalc0 - normal to be transformedboolean isRigid()
true if this transformer implements a linear
 rigid transform.boolean isAffine()
true if this transformer implements a linear affine
 transform.