xmsmesh  1.0
MePolyPatcher.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
6 //------------------------------------------------------------------------------
7 #pragma once
8 
9 //----- Included files ---------------------------------------------------------
10 //#include <xmscore/points/ptsfwd.h>
13 #include <xmscore/stl/vector.h>
14 
15 //----- Forward declarations ---------------------------------------------------
16 
17 //----- Namespace declaration --------------------------------------------------
18 namespace xms
19 {
20 
21 //----- Constants / Enumerations -----------------------------------------------
22 
23 //----- Structs / Classes ------------------------------------------------------
27 {
28 public:
29  static BSHP<MePolyPatcher> New();
30 
32  virtual bool MeshIt(int a_polyId,
33  const VecPt3d& a_outPoly,
34  const VecInt& a_polyCorners,
35  double a_xytol,
36  VecPt3d& a_points,
37  VecInt& a_cells) = 0;
38 
39 protected:
40  MePolyPatcher() {}
41  virtual ~MePolyPatcher() {}
42 
43 private:
46 };
47 //----- Function prototypes ----------------------------------------------------
48 
49 } // namespace xms
std::vector< int > VecInt
static BSHP< MePolyPatcher > New()
Creates a new instance of this class.
#define XM_DISALLOW_COPY_AND_ASSIGN(TypeName)
Generates a mesh with triangle/quad cells using the patch method.
Definition: MePolyPatcher.h:26
std::vector< Pt3d > VecPt3d