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,
112 std::vector<Point2>& vRandomPointsOut,
116 #if GEOM_PSEUDO3D==GEOM_TRUE
131 void generateRandomPoints3D(
size_t numRandomPoints,
134 std::vector<Point2>& vRandomPointsOut,
160 std::vector<Segment2>& vPolygonOut,
184 std::vector<Segment2>& vSegmentsOut,
212 std::vector<Segment2>& vSineSegmentsOut
234 #if GEOM_PSEUDO3D==GEOM_TRUE
243 std::vector<Point2>& vCirclePointsOut
253 std::vector<Point2>& vCirclePointsOut
259 #if GEOM_PSEUDO3D==GEOM_TRUE
275 void generateRandomSurfacePoints(
279 double xmin,
double ymin,
double zmin,
double xmax,
double ymax,
double zmax,
280 std::vector<Point2>& vSurfacePointsOut,
297 void shear( std::vector<Point2>& vPointsInOut,
double shearX,
double shearY );
CLASS_DECLSPEC void shear(std::vector< Point2 > &vPointsInOut, double shearX, double shearY)
Apply shear transformation to points.
CLASS_DECLSPEC void generateRandomPoints(size_t numRandomPoints, double min, double max, std::vector< Point2 > &vRandomPointsOut, unsigned int seed=0)
Generate (reproducible) random points.
CLASS_DECLSPEC void generateCircle(int numPoints, double x, double y, double radiusX, double radiusY, std::vector< Point2 > &vCirclePointsOut)
Generate points on a circle.
CLASS_DECLSPEC void generateRandomSegments(size_t numSegments, double min, double max, double maxLen, std::vector< Segment2 > &vSegmentsOut, unsigned int seed)
Generate (reproducible) random line segments.
CLASS_DECLSPEC 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.
CLASS_DECLSPEC void generateRandomPolygon(size_t numSegments, double min, double max, std::vector< Segment2 > &vPolygonOut, unsigned int seed=0)
Generate a (reproducible) random polygon.
CLASS_DECLSPEC void generateRandomNumbers(size_t num, double min, double max, std::vector< double > &vRandomNumbersOut, unsigned int seed=0)
Generate (reproducible) random numbers.