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

Public Member Functions

 CylinderDomainArg (std::vector< MeshDomain * > &domlist, std::vector< int > &dims)
virtual bool value (const std::vector< double > &list)

Private Attributes

std::vector< MeshDomain * > & domList
std::vector< int > & dimList

Detailed Description

Definition at line 80 of file domain.cpp.


Constructor & Destructor Documentation

CylinderDomainArg::CylinderDomainArg ( std::vector< MeshDomain * > &  domlist,
std::vector< int > &  dims 
) [inline]

Definition at line 87 of file domain.cpp.

        : domList( domlist ), dimList( dims )
    {
    }

Member Function Documentation

bool CylinderDomainArg::value ( const std::vector< double > &  list) [virtual]

Definition at line 93 of file domain.cpp.

References MBMesquite::Vector3D::set().

{
    double rad = vals[0];
    Vector3D normal( vals[1], vals[2], vals[3] );
    Vector3D point( 0, 0, 0 );
    if( vals.size() == 7 ) point.set( vals[4], vals[5], vals[6] );
    domList.push_back( new CylinderDomain( rad, normal, point ) );
    dimList.push_back( 2 );
    return true;
}

Member Data Documentation

std::vector< int >& CylinderDomainArg::dimList [private]

Definition at line 84 of file domain.cpp.

std::vector< MeshDomain* >& CylinderDomainArg::domList [private]

Definition at line 83 of file domain.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