MOAB: Mesh Oriented datABase
(version 5.4.1)
|
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 |
Definition at line 80 of file domain.cpp.
CylinderDomainArg::CylinderDomainArg | ( | std::vector< MeshDomain * > & | domlist, |
std::vector< int > & | dims | ||
) | [inline] |
Definition at line 87 of file domain.cpp.
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; }
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.