xmsmesh  1.0
MeRefinePtsToPolys.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
7 //------------------------------------------------------------------------------
8 #pragma once
9 
10 //----- Included files ---------------------------------------------------------
11 #include <vector>
12 #include <xmscore/points/ptsfwd.h>
15 
16 //----- Namespace declaration --------------------------------------------------
17 namespace xms
18 {
19 //----- Forward declarations ---------------------------------------------------
20 class MeRefinePoint;
21 
22 //----- Constants / Enumerations -----------------------------------------------
23 
24 //----- Structs / Classes ------------------------------------------------------
28 {
29 public:
30  static BSHP<MeRefinePtsToPolys> New();
31 
33  virtual void SetRefinePoints(const std::vector<MeRefinePoint>& a_pts, double a_tol) = 0;
34  virtual void RefPtsAsPolys(int a_polyId,
35  const std::vector<Pt3d>& a_outPoly,
36  const std::vector<std::vector<Pt3d>>& a_inPolys,
37  std::vector<std::vector<Pt3d>>& a_newInPolys,
38  std::vector<Pt3d>& a_refMeshPts,
39  std::vector<Pt3d>& a_refPtsTooClose) = 0;
40 
41 private:
44 
45 protected:
47  virtual ~MeRefinePtsToPolys();
48 };
49 //----- Function prototypes ----------------------------------------------------
50 
51 } // namespace xms
static BSHP< MeRefinePtsToPolys > New()
Creates a new instance of this class.
Creates polygon from refine point information.
#define XM_DISALLOW_COPY_AND_ASSIGN(TypeName)