Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Attributes | Friends | List of all members
Nektar::NekMeshUtils::CADObject Class Reference

#include <CADObject.h>

Inheritance diagram for Nektar::NekMeshUtils::CADObject:
Inheritance graph
[legend]

Public Member Functions

 CADObject ()
 Default constructor. More...
 
virtual ~CADObject ()
 
int GetId ()
 Return ID of the vertex. More...
 
CADType::cadType GetType ()
 
virtual CADOrientation::Orientation Orientation ()
 

Protected Attributes

int m_id
 ID of the vert. More...
 
CADType::cadType m_type
 type of the cad object More...
 
CADOrientation::Orientation m_orientation
 orientation of the CADObject More...
 

Friends

class MemoryManager< CADObject >
 

Detailed Description

Definition at line 68 of file CADObject.h.

Constructor & Destructor Documentation

Nektar::NekMeshUtils::CADObject::CADObject ( )
inline

Default constructor.

Definition at line 76 of file CADObject.h.

77  {
78  }
virtual Nektar::NekMeshUtils::CADObject::~CADObject ( )
inlinevirtual

Definition at line 80 of file CADObject.h.

81  {
82  }

Member Function Documentation

int Nektar::NekMeshUtils::CADObject::GetId ( )
inline

Return ID of the vertex.

Definition at line 87 of file CADObject.h.

References m_id.

Referenced by Nektar::NekMeshUtils::HOSurfaceMesh::Process().

88  {
89  return m_id;
90  }
int m_id
ID of the vert.
Definition: CADObject.h:105
CADType::cadType Nektar::NekMeshUtils::CADObject::GetType ( )
inline

Definition at line 92 of file CADObject.h.

References m_type.

93  {
94  return m_type;
95  }
CADType::cadType m_type
type of the cad object
Definition: CADObject.h:107
virtual CADOrientation::Orientation Nektar::NekMeshUtils::CADObject::Orientation ( )
inlinevirtual

Reimplemented in Nektar::NekMeshUtils::CADSurf.

Definition at line 97 of file CADObject.h.

References ASSERTL0, and Nektar::NekMeshUtils::CADOrientation::eUnknown.

98  {
99  ASSERTL0(false,"must be implemented at the cad object level");
101  }
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:198

Friends And Related Function Documentation

friend class MemoryManager< CADObject >
friend

Definition at line 71 of file CADObject.h.

Member Data Documentation

int Nektar::NekMeshUtils::CADObject::m_id
protected

ID of the vert.

Definition at line 105 of file CADObject.h.

Referenced by GetId(), and Nektar::NekMeshUtils::CADCurveOCE::Initialise().

CADOrientation::Orientation Nektar::NekMeshUtils::CADObject::m_orientation
protected

orientation of the CADObject

Definition at line 109 of file CADObject.h.

Referenced by Nektar::NekMeshUtils::CADSurf::CADSurf(), and Nektar::NekMeshUtils::CADSurf::Orientation().

CADType::cadType Nektar::NekMeshUtils::CADObject::m_type
protected