xmsmesh  1.0
MePolyRedistributePtsCurvature.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
6 //------------------------------------------------------------------------------
7 #pragma once
8 
9 //----- Included files ---------------------------------------------------------
10 #include <vector>
11 #include <xmscore/stl/vector.h>
14 
15 //----- Forward declarations ---------------------------------------------------
16 
17 //----- Namespace declaration --------------------------------------------------
18 namespace xms
19 {
20 //----- Constants / Enumerations -----------------------------------------------
21 
22 //----- Structs / Classes ------------------------------------------------------
26 {
27 public:
28  static BSHP<MePolyRedistributePtsCurvature> New();
30 
32  virtual VecPt3d Redistribute(const VecPt3d& points,
33  double a_featureSize,
34  double a_meanSpacing,
35  double a_minimumCurvature = 0.001,
36  bool a_smooth = false) = 0;
37 
38 private:
41 
42 protected:
44 };
45 } // namespace xms
Redistributes the point locations on a polyline or polygon based on curvature.
#define XM_DISALLOW_COPY_AND_ASSIGN(TypeName)
static BSHP< MePolyRedistributePtsCurvature > New()
Creates an instance of this class.
std::vector< Pt3d > VecPt3d