CrvEdge3.h
1 /******************************************************************************
2 
3  (c) 2004-2014 Scientific Computation Research Center,
4  Rensselaer Polytechnic Institute. All rights reserved.
5 
6  The LICENSE-SCOREC file included with this distribution describes the terms
7  of the SCOREC Non-Commercial License this program is distributed under.
8 
9 *******************************************************************************/
10 #ifndef CURVEMESH_CRVEDGE3_H
11 #define CURVEMESH_CRVEDGE3_H
12 
13 #include "CMAFwd.h"
14 #include "CrvEdge.h"
15 
16 typedef class mEntity * pMeshEdge;
17 typedef class mMesh * pMeshMdl;
18 
21 class CrvEdge3 : public CrvEdge {
22  public:
25  CrvEdge3(pMeshEdge in_edge);
26 
29  CrvEdge3(VtxPtrVec in_vert_vec);
30 
34  CrvEdge3(VtxPtrVec in_vert_vec, int dummy);
35 
37  CrvEdge3(pMeshEdge in_edge, int dummy);
38 
41  virtual ~CrvEdge3();
42 
43  protected:
44  std::string v_tag_name() const
45  {
46  return std::string("cubic_edge_ctrl_pts_tag");
47  }
48 
49  int v_data_size() const
50  {
51  return 6;
52  }
53  int cubic_lagrange_to_bezier(Point3d* l, Point3d* b);
54 };
55 #endif//CURVEMESH_CRVEDGE3_H
std::string v_tag_name() const
Get the tag name of the attached data.
Definition: CrvEdge3.h:44
base class for curved edge curve edge provides basic evaluation based on barycentric coordinate syste...
Definition: CrvEdge.h:28
CrvEdge3(pMeshEdge in_edge)
ctor 1
Definition: CrvEdge3.cc:19
int v_data_size() const
Get the size of the data attached to the edge entity.
Definition: CrvEdge3.h:49
virtual ~CrvEdge3()
dtor
Definition: CrvEdge3.cc:185
curved edges with 3rd order geometric shape
Definition: CrvEdge3.h:21