Fade2.5D Documentation pages v1.93
Delaunay Features
testDataGenerators.h File Reference
#include "Point2.h"
#include "Segment2.h"
#include <vector>

Go to the source code of this file.

Functions

void GEOM_FADE25D::generateCircle (int numPoints, double x, double y, double z, double radiusX, double radiusY, std::vector< Point2 > &vCirclePointsOut)
 Generate a circle. More...
 
void GEOM_FADE25D::generateRandomNumbers (size_t num, double min, double max, std::vector< double > &vRandomNumbersOut, unsigned int seed=0)
 Generate random numbers. More...
 
void GEOM_FADE25D::generateRandomPoints (size_t numRandomPoints, double min, double max, std::vector< Point2 > &vRandomPointsOut, unsigned int seed=0)
 Generate random points. More...
 
void GEOM_FADE25D::generateRandomPoints3D (size_t numRandomPoints, double min, double max, std::vector< Point2 > &vRandomPointsOut, unsigned int seed=0)
 Generate random points with height. More...
 
void GEOM_FADE25D::generateRandomPolygon (size_t numSegments, double min, double max, std::vector< Segment2 > &vPolygonOut, unsigned int seed=0)
 Generate a random simple polygon. More...
 
void GEOM_FADE25D::generateRandomSegments (size_t numSegments, double min, double max, double maxLen, std::vector< Segment2 > &vSegmentsOut, unsigned int seed)
 Generate random line segments. More...
 
void GEOM_FADE25D::generateRandomSurfacePoints (size_t numX, size_t numY, size_t numCenters, double xmin, double ymin, double zmin, double xmax, double ymax, double zmax, std::vector< Point2 > &vSurfacePointsOut, unsigned int seed)
 Generate a random surface. More...
 
void GEOM_FADE25D::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. More...
 
void GEOM_FADE25D::shear (std::vector< Point2 > &vPointsInOut, double shearX, double shearY)