MOAB: Mesh Oriented datABase  (version 5.2.1)
PatchRotate Class Reference
+ Inheritance diagram for PatchRotate:
+ Collaboration diagram for PatchRotate:

Public Member Functions

 PatchRotate (Matrix3D s)
virtual ~PatchRotate ()
virtual void xform (PatchData &pd, PlanarDomain *dom)
virtual void xform_grad (std::vector< Vector3D > &grad)

Private Attributes

Matrix3D rotation

Detailed Description

Definition at line 1506 of file QualityMetricTester.cpp.


Constructor & Destructor Documentation

Definition at line 1511 of file QualityMetricTester.cpp.

: rotation( s ) {}

Definition at line 1517 of file QualityMetricTester.cpp.

{}

Member Function Documentation

void PatchRotate::xform ( PatchData pd,
PlanarDomain dom 
) [virtual]
void PatchRotate::xform_grad ( std::vector< Vector3D > &  grad) [virtual]

Implements QualityMetricTester::PatchXform.

Definition at line 1539 of file QualityMetricTester.cpp.

References rotation.

{
    for( unsigned i = 0; i < grad.size(); ++i )
        grad[i] = rotation * grad[i];
}

Member Data Documentation

Definition at line 1508 of file QualityMetricTester.cpp.

Referenced by xform(), and xform_grad().

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines