35 #ifndef NEKMESHUTILS_CADSYSTEM_CADVERT
36 #define NEKMESHUTILS_CADSYSTEM_CADVERT
45 namespace NekMeshUtils
Provides a generic Factory class.
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
base class for CAD curves.
CADType::cadType m_type
type of the cad object
base class for a cad surface
base class for CAD verticies.
Array< OneD, NekDouble > GetLoc()
Get x,y,z location of the vertex.
virtual NekDouble DistanceTo(Array< OneD, NekDouble > l)=0
Calcuate the distance to a vertex from a point l(x,y,z)
int IsDegen()
query is degenerate
std::vector< CADCurveSharedPtr > curves
adjacent curves
int degensurf
degen surface
CADVert()
Default constructor.
NodeSharedPtr m_node
mesh convert object of vert
std::vector< CADCurveSharedPtr > GetAdjCurves()
Get list of CAD curves which are bound by this vertex.
void SetDegen(int s, CADSurfSharedPtr su, NekDouble u, NekDouble v)
if the vertex is degenerate manually set uv for that surface
NodeSharedPtr GetNode()
returns a node object of the cad vertex
void AddAdjCurve(CADCurveSharedPtr c)
std::shared_ptr< CADVert > CADVertSharedPtr
std::shared_ptr< CADSurf > CADSurfSharedPtr
std::shared_ptr< CADCurve > CADCurveSharedPtr
CADVertFactory & GetCADVertFactory()
std::shared_ptr< Node > NodeSharedPtr
LibUtilities::NekFactory< std::string, CADVert > CADVertFactory