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

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

Detailed Description

Definition at line 150 of file domain.cpp.


Constructor & Destructor Documentation

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

Definition at line 157 of file domain.cpp.

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

Member Function Documentation

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;
}

Member Data Documentation

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.

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