MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
CircleDomainArg (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 150 of file domain.cpp.
CircleDomainArg::CircleDomainArg | ( | std::vector< MeshDomain * > & | domlist, |
std::vector< int > & | dims | ||
) | [inline] |
Definition at line 157 of file domain.cpp.
bool CircleDomainArg::value | ( | const std::vector< double > & | list | ) | [virtual] |
Definition at line 163 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] ); CircleDomain* pdom = new CircleDomain( point, normal, rad ); domList.push_back( pdom ); dimList.push_back( 1 ); return true; }
std::vector< int >& CircleDomainArg::dimList [private] |
Definition at line 154 of file domain.cpp.
std::vector< MeshDomain* >& CircleDomainArg::domList [private] |
Definition at line 153 of file domain.cpp.