xmsmesh  1.0
MePolyPaverToMeshPts.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
6 //------------------------------------------------------------------------------
7 #pragma once
8 
9 //----- Included files ---------------------------------------------------------
10 #include <vector>
11 #include <xmscore/points/ptsfwd.h>
14 
15 //----- Forward declarations ---------------------------------------------------
16 
17 //----- Namespace declaration --------------------------------------------------
18 namespace xms
19 {
20 class MePolyRedistributePts;
21 
22 //----- Constants / Enumerations -----------------------------------------------
23 
24 //----- Structs / Classes ------------------------------------------------------
28 {
29 public:
30  static BSHP<MePolyPaverToMeshPts> New();
31 
33  virtual bool PolyToMeshPts(const std::vector<Pt3d>& a_outPoly,
34  const std::vector<std::vector<Pt3d>>& a_inPolys,
35  double a_bias,
36  double a_xyTol,
37  std::vector<Pt3d>& a_meshPts) = 0;
38 
39  virtual void SetRedistributor(BSHP<MePolyRedistributePts> a_) = 0;
40 
41 private:
44 
45 protected:
47  virtual ~MePolyPaverToMeshPts();
48 };
49 //----- Function prototypes ----------------------------------------------------
50 
51 } // namespace xms
static BSHP< MePolyPaverToMeshPts > New()
Creates a new instance of this class.
#define XM_DISALLOW_COPY_AND_ASSIGN(TypeName)
Generates mesh node locations by paving a polygon.