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

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

Detailed Description

Definition at line 104 of file domain.cpp.


Constructor & Destructor Documentation

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

Definition at line 111 of file domain.cpp.

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

Member Function Documentation

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

Member Data Documentation

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.

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