Nektar++
|
base class for CAD verticies. More...
#include <CADVert.h>
Public Member Functions | |
CADVert () | |
Default constructor. More... | |
virtual | ~CADVert () |
Array< OneD, NekDouble > | GetLoc () |
Get x,y,z location of the vertex. More... | |
NodeSharedPtr | GetNode () |
returns a node object of the cad vertex More... | |
void | SetDegen (int s, CADSurfSharedPtr su, NekDouble u, NekDouble v) |
if the vertex is degenerate manually set uv for that surface More... | |
int | IsDegen () |
query is degenerate More... | |
virtual NekDouble | DistanceTo (Array< OneD, NekDouble > l)=0 |
Calcuate the distance to a vertex from a point l(x,y,z) More... | |
void | AddAdjCurve (CADCurveSharedPtr c) |
std::vector< CADCurveSharedPtr > | GetAdjCurves () |
Get list of CAD curves which are bound by this vertex. More... | |
![]() | |
CADObject () | |
Default constructor. More... | |
virtual | ~CADObject () |
int | GetId () |
Return ID of the CAD object. More... | |
CADType::cadType | GetType () |
Get the type of the CAD object. More... | |
virtual CADOrientation::Orientation | Orientation () |
Get the Orientation of the CAD object. More... | |
void | SetName (std::string i) |
Give the CAD object a string name. More... | |
std::string | GetName () |
Get the name of a CAD object. More... | |
Protected Attributes | |
NodeSharedPtr | m_node |
mesh convert object of vert More... | |
bool | degen |
degen marker More... | |
int | degensurf |
degen surface More... | |
std::vector< CADCurveSharedPtr > | curves |
adjacent curves More... | |
![]() | |
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... | |
std::string | m_name |
string name of the cad More... | |
Friends | |
class | MemoryManager< CADVert > |
|
inline |
Default constructor.
Definition at line 68 of file CADVert.h.
References Nektar::NekMeshUtils::CADType::eVert, and Nektar::NekMeshUtils::CADObject::m_type.
|
inlinevirtual |
|
inline |
Definition at line 113 of file CADVert.h.
References curves.
Calcuate the distance to a vertex from a point l(x,y,z)
Implemented in Nektar::NekMeshUtils::CADVertOCE, and Nektar::NekMeshUtils::CADVertCFI.
Definition at line 63 of file CADVert.cpp.
Referenced by IsDegen().
|
inline |
Get list of CAD curves which are bound by this vertex.
Definition at line 121 of file CADVert.h.
References curves.
Get x,y,z location of the vertex.
Definition at line 54 of file CADVert.cpp.
Referenced by ~CADVert().
|
inline |
returns a node object of the cad vertex
Definition at line 83 of file CADVert.h.
References m_node, and SetDegen().
|
inline |
query is degenerate
Definition at line 96 of file CADVert.h.
References degen, degensurf, and DistanceTo().
void Nektar::NekMeshUtils::CADVert::SetDegen | ( | int | s, |
CADSurfSharedPtr | su, | ||
NekDouble | u, | ||
NekDouble | v | ||
) |
if the vertex is degenerate manually set uv for that surface
Definition at line 44 of file CADVert.cpp.
Referenced by GetNode().
|
friend |
|
protected |
adjacent curves
Definition at line 134 of file CADVert.h.
Referenced by AddAdjCurve(), and GetAdjCurves().
|
protected |
|
protected |
|
protected |