
Go to the source code of this file.
| Functions | |
| double | randFloat (void) | 
| Spit out a random floating point number, uniform on [0,1]. | |
| CkVector3d | randPoint (void) | 
| Spit out a random 3-vector, uniform over the unit cube. | |
| CkVector3d | randPlane (void) | 
| Spit out a random 3-vector, uniform over a skew plane. | |
| Tet3d | randTet (int tetType, PointSet3d *ps) | 
| void | doTest (int firstTest, int lastTest) | 
| int | main (int argc, char *argv[]) | 
| Variables | |
| const int | tetTypes = 6 | 
| double randFloat | ( | void | ) | 
Spit out a random floating point number, uniform on [0,1].
Definition at line 14 of file test_cg3d.C.
References float.
Referenced by doTest(), matchTest(), randPlane(), randPoint(), and timePer().

| CkVector3d randPoint | ( | void | ) | 
Spit out a random 3-vector, uniform over the unit cube.
Definition at line 19 of file test_cg3d.C.
References randFloat().
Referenced by randTet().


| CkVector3d randPlane | ( | void | ) | 
Spit out a random 3-vector, uniform over a skew plane.
This ensures a large number of degeneracies.
Definition at line 25 of file test_cg3d.C.
References randFloat().
Referenced by randTet().


| Tet3d randTet | ( | int | tetType, | |
| PointSet3d * | ps | |||
| ) |  [inline] | 
Definition at line 41 of file test_cg3d.C.
References C, randPlane(), randPoint(), PUP::t, cg3d::testShape(), and tetVolume().
Referenced by doTest(), matchTest(), and timePer().


Definition at line 67 of file test_cg3d.C.
References abort(), int, cg3d::intersectDebug(), randFloat(), randTet(), and tetTypes.
Referenced by main().


Definition at line 93 of file test_cg3d.C.
References doTest().

 1.5.5
 1.5.5