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

Public Member Functions

 LineDomainArg (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 127 of file domain.cpp.


Constructor & Destructor Documentation

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

Definition at line 134 of file domain.cpp.

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

Member Function Documentation

bool LineDomainArg::value ( const std::vector< double > &  list) [virtual]

Definition at line 139 of file domain.cpp.

References MBMesquite::Vector3D::set().

{
    Vector3D dir( vals[0], vals[1], vals[2] );
    Vector3D point( 0, 0, 0 );
    if( vals.size() == 6 ) point.set( vals[3], vals[4], vals[5] );
    LineDomain* pdom = new LineDomain( point, dir );
    domList.push_back( pdom );
    dimList.push_back( 1 );
    return true;
}

Member Data Documentation

std::vector< int >& LineDomainArg::dimList [private]

Definition at line 131 of file domain.cpp.

std::vector< MeshDomain* >& LineDomainArg::domList [private]

Definition at line 130 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