21 #if GEOM_PSEUDO3D==GEOM_TRUE
28 namespace GEOM_FADE25D {
40 enum ConvexHullStrategy
46 class CloudPrepareImpl;
86 class CLASS_DECLSPEC CloudPrepare
102 void add(
double x,
double y,
double z,
int customIndex=-1);
107 void add(std::vector<Point2>& vPoints);
114 void add(
size_t numPoints,
double * aCoordinates);
134 void uniformSimplifyGrid(
double gridLength,SumStrategy sms,ConvexHullStrategy chs);
155 void uniformSimplifyNum(
int approxNumPoints,SumStrategy sms,ConvexHullStrategy chs);
174 void adaptiveSimplify(
double maxDiffZ,SumStrategy sms,ConvexHullStrategy chs);
185 void getBounds(
double& minX,
double& minY,
double& minZ,
double& maxX,
double& maxY,
double& maxZ);
196 bool computeConvexHull(
bool bAllPoints,std::vector<Point2>& vConvexHull);
203 size_t getNumPoints()
const;
215 void getPoints(std::vector<Point2>& vPointsOut)
const;
222 CloudPrepareImpl* pImpl;
224 CloudPrepare(
const CloudPrepare&);
230 #elif GEOM_PSEUDO3D==GEOM_FALSE
231 namespace GEOM_FADE2D {
233 #error GEOM_PSEUDO3D is not defined