27 #if GEOM_PSEUDO3D==GEOM_TRUE
28 namespace GEOM_FADE25D {
29 #elif GEOM_PSEUDO3D==GEOM_FALSE
30 namespace GEOM_FADE2D {
32 #error GEOM_PSEUDO3D is not defined
83 std::vector<double>& vRandomNumbersOut,
106 std::vector<Point2>& vRandomPointsOut,
110 #if GEOM_PSEUDO3D==GEOM_TRUE
127 void generateRandomPoints3D(
size_t numRandomPoints,
130 std::vector<Point2>& vRandomPointsOut,
153 std::vector<Segment2>& vPolygonOut,
177 std::vector<Segment2>& vSegmentsOut,
203 std::vector<Segment2>& vSineSegmentsOut
211 #if GEOM_PSEUDO3D==GEOM_TRUE
220 std::vector<Point2>& vCirclePointsOut
230 std::vector<Point2>& vCirclePointsOut
236 #if GEOM_PSEUDO3D==GEOM_TRUE
249 void generateRandomSurfacePoints(
253 double xmin,
double ymin,
double zmin,
double xmax,
double ymax,
double zmax,
254 std::vector<Point2>& vSurfacePointsOut,
262 void shear( std::vector<Point2>& vPointsInOut,
double shearX,
double shearY );
void generateRandomNumbers(size_t num, double min, double max, std::vector< double > &vRandomNumbersOut, unsigned int seed=0)
Generate random numbers.
void generateCircle(int numPoints, double x, double y, double radiusX, double radiusY, std::vector< Point2 > &vCirclePointsOut)
Generate a circle.
void generateRandomSegments(size_t numSegments, double min, double max, double maxLen, std::vector< Segment2 > &vSegmentsOut, unsigned int seed)
Generate random line segments.
void generateRandomPoints(size_t numRandomPoints, double min, double max, std::vector< Point2 > &vRandomPointsOut, unsigned int seed=0)
Generate random points.
void generateRandomPolygon(size_t numSegments, double min, double max, std::vector< Segment2 > &vPolygonOut, unsigned int seed=0)
Generate a random simple polygon.
void generateSineSegments(int numSegments, int numPeriods, double xOffset, double yOffset, double xFactor, double yFactor, bool bSwapXY, std::vector< Segment2 > &vSineSegmentsOut)
Generate segments from a sine function.