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

class for CAD curves. More...

#include <CADObj.h>

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

Public Member Functions

 CADObj ()
 Default constructor. More...
 
virtual ~CADObj ()
 
int GetId ()
 Return ID of the vertex. More...
 
cadType GetType ()
 

Protected Attributes

int m_id
 ID of the vert. More...
 
cadType m_type
 type of the cad object More...
 

Friends

class MemoryManager< CADObj >
 

Detailed Description

class for CAD curves.

This class wraps the OpenCascade BRepAdaptor_Curve class for use with Nektar++.

Definition at line 62 of file CADObj.h.

Constructor & Destructor Documentation

Nektar::NekMeshUtils::CADObj::CADObj ( )
inline

Default constructor.

Definition at line 70 of file CADObj.h.

71  {
72  }
virtual Nektar::NekMeshUtils::CADObj::~CADObj ( )
inlinevirtual

Definition at line 74 of file CADObj.h.

74 {};

Member Function Documentation

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

Return ID of the vertex.

Definition at line 79 of file CADObj.h.

References m_id.

Referenced by Nektar::NekMeshUtils::CADSurf::Test().

80  {
81  return m_id;
82  }
int m_id
ID of the vert.
Definition: CADObj.h:91
cadType Nektar::NekMeshUtils::CADObj::GetType ( )
inline

Definition at line 84 of file CADObj.h.

References m_type.

85  {
86  return m_type;
87  }
cadType m_type
type of the cad object
Definition: CADObj.h:93

Friends And Related Function Documentation

friend class MemoryManager< CADObj >
friend

Definition at line 65 of file CADObj.h.

Member Data Documentation

int Nektar::NekMeshUtils::CADObj::m_id
protected

ID of the vert.

Definition at line 91 of file CADObj.h.

Referenced by Nektar::NekMeshUtils::CADSurf::CADSurf(), Nektar::NekMeshUtils::CADVert::CADVert(), and GetId().

cadType Nektar::NekMeshUtils::CADObj::m_type
protected

type of the cad object

Definition at line 93 of file CADObj.h.

Referenced by Nektar::NekMeshUtils::CADSurf::CADSurf(), Nektar::NekMeshUtils::CADVert::CADVert(), and GetType().