MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
PlanarDomainArg (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 104 of file domain.cpp.
PlanarDomainArg::PlanarDomainArg | ( | std::vector< MeshDomain * > & | domlist, |
std::vector< int > & | dims | ||
) | [inline] |
Definition at line 111 of file domain.cpp.
bool PlanarDomainArg::value | ( | const std::vector< double > & | list | ) | [virtual] |
Definition at line 117 of file domain.cpp.
References MBMesquite::Vector3D::set().
{ Vector3D normal( list[0], list[1], list[2] ); Vector3D point( 0, 0, 0 ); if( list.size() == 6 ) point.set( list[3], list[4], list[5] ); domList.push_back( new PlanarDomain( normal, point ) ); dimList.push_back( 2 ); return true; }
std::vector< int >& PlanarDomainArg::dimList [private] |
Definition at line 108 of file domain.cpp.
std::vector< MeshDomain* >& PlanarDomainArg::domList [private] |
Definition at line 107 of file domain.cpp.