MOAB: Mesh Oriented datABase  (version 5.4.1)
RotateArg Class Reference
+ Inheritance diagram for RotateArg:
+ Collaboration diagram for RotateArg:

Public Member Functions

 RotateArg (MeshTransform *xform)
bool value (const std::vector< double > &vals)

Private Attributes

MeshTransformmTransform

Detailed Description

Definition at line 14 of file transform.cpp.


Constructor & Destructor Documentation

RotateArg::RotateArg ( MeshTransform xform) [inline]

Definition at line 20 of file transform.cpp.

: mTransform( xform ) {}

Member Function Documentation

bool RotateArg::value ( const std::vector< double > &  vals)

Definition at line 41 of file transform.cpp.

{
    mTransform->add_rotation( Vector3D( vals[1], vals[2], vals[3] ), vals[0] * M_PI / 180 );
    return true;
}

Member Data Documentation

Definition at line 17 of file transform.cpp.

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