MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
ConicDomainArg (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 43 of file domain.cpp.
ConicDomainArg::ConicDomainArg | ( | std::vector< MeshDomain * > & | domlist, |
std::vector< int > & | dims | ||
) | [inline] |
Definition at line 50 of file domain.cpp.
bool ConicDomainArg::value | ( | const std::vector< double > & | list | ) | [virtual] |
Definition at line 56 of file domain.cpp.
{ double base_rad = vals[0]; double height = vals[1]; Vector3D axis( 0, 0, 1 ); if( vals.size() >= 5 ) { axis[0] = vals[2]; axis[1] = vals[3]; axis[2] = vals[4]; } Vector3D point( 0, 0, 0 ); if( vals.size() == 8 ) { axis[0] = vals[5]; axis[1] = vals[6]; axis[2] = vals[7]; } domList.push_back( new ConicDomain( base_rad, height, axis, point ) ); dimList.push_back( 2 ); return true; }
std::vector< int >& ConicDomainArg::dimList [private] |
Definition at line 47 of file domain.cpp.
std::vector< MeshDomain* >& ConicDomainArg::domList [private] |
Definition at line 46 of file domain.cpp.