MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / uniform_deviate

Function uniform_deviate

tools/mesh_sampling.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50#include <pcl/console/parse.h>
51
52inline double
53uniform_deviate (int seed)
54{
55 double ran = seed * (1.0 / (RAND_MAX + 1.0));
56 return ran;
57}
58
59inline void
60randomPointTriangle (float a1, float a2, float a3, float b1, float b2, float b3, float c1, float c2, float c3,

Callers 1

randPSurfaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected