36 #ifndef NEKMESHUTILS_CADSYSTEM_CADVERT
37 #define NEKMESHUTILS_CADSYSTEM_CADVERT
39 #include <boost/shared_ptr.hpp>
50 namespace NekMeshUtils
70 gp_Pnt ori(0.0, 0.0, 0.0);
71 transform.SetScale(ori, 1.0 / 1000.0);
72 TopLoc_Location mv(transform);
76 m_occVert = BRep_Tool::Pnt(TopoDS::Vertex(in));
78 m_node = boost::shared_ptr<Node>(
117 m_node->SetCADSurf(s, su, uv);
NodeSharedPtr m_node
mesh convert object of vert
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
Represents a point in the domain.
CADVert(int i, TopoDS_Shape in)
Default constructor.
boost::shared_ptr< Node > NodeSharedPtr
int IsDegen()
query is degenerate
Array< OneD, NekDouble > GetLoc()
Get x,y,z location of the vertex.
boost::shared_ptr< CADSurf > CADSurfSharedPtr
gp_Pnt m_occVert
OpenCascade object of the curve.
NodeSharedPtr GetNode()
returns a node object of the cad vertex
cadType m_type
type of the cad object
boost::shared_ptr< CADVert > CADVertSharedPtr
void SetDegen(int s, CADSurfSharedPtr su, NekDouble u, NekDouble v)
if the vertex is degenerate manually set uv for that surface