PPL Logo

libs/ck-libs/datatransfer/cg3d.h File Reference

Go to the source code of this file.

Namespaces

namespace  cg3d

Data Structures

class  cg3d::PointSet3d
 A dynamic pointset, with each point marked with the halfspaces it contains. More...
class  cg3d::Planar3d
 A convex planar polyhedron, with its vertices scattered in 3D. More...
class  cg3d::Shape3d
 A convex 3D shape, described either as a set of convex planar faces or the intersection of a set of halfspaces. More...
class  cg3d::Tet3d
 A 4-node tetrahedron. More...
class  cg3d::Planar3dDest
 Send clipped segments of a face to here. More...
class  cg3d::NonManifoldException
 Under OSL_CG3D_DEBUG, this exception is thrown by ~Volume3dDest:. More...
class  cg3d::Volume3dDest
 Compute the volume of the shape bounded by these faces. More...

Functions

void cg3d::testShape (const Shape3d &s)
 Test this shape for validity.
double cg3d::tetVolume (const CkVector3d &A, const CkVector3d &B, const CkVector3d &C, const CkVector3d &D)
 Return the volume of the tetrahedron with these vertices.
void cg3d::intersect (PointSet3d *ps, const Shape3d &shape0, const Shape3d &shape1, Planar3dDest &faceDest)
 Compute the surface of the intersection of these two shapes, sending the resulting face fragments to faceDest.
double cg3d::intersectDebug (PointSet3d *ps, const Tet3d &S, const Tet3d &D)
 Debugging version of "intersect".

Variables

double cg3d::epsilon = 1.0e-10
 Small roundoff-control value:.


Generated on Mon Sep 21 08:06:55 2020 for Charm++ by  doxygen 1.5.5