#include <cg3d.h>
Public Member Functions | |
Tet3d (PointSet3d *ps_, const CkVector3d &A_, const CkVector3d &B_, const CkVector3d &C_, const CkVector3d &D_) | |
Tet3d (const Tet3d &t) | |
Copy constructor. | |
virtual void | getFace (int f, Planar3d &face) const |
Extract the boundary of face f of this shape. | |
Private Member Functions | |
void | operator= (const Tet3d &t) |
Private Attributes | |
int | p [4] |
int | h [4] |
Definition at line 201 of file cg3d.h.
Tet3d::Tet3d | ( | PointSet3d * | ps_, | |
const CkVector3d & | A_, | |||
const CkVector3d & | B_, | |||
const CkVector3d & | C_, | |||
const CkVector3d & | D_ | |||
) |
Definition at line 169 of file cg3d.C.
References cg3d::PointSet3d::addHalfspace(), cg3d::PointSet3d::addPoint(), h, CkHalfspace3d::init(), p, cg3d::Shape3d::ps, and CkHalfspace3d::side().
cg3d::Tet3d::Tet3d | ( | const Tet3d & | t | ) | [inline] |
void cg3d::Tet3d::operator= | ( | const Tet3d & | t | ) | [private] |
Extract the boundary of face f of this shape.
Points in face should spiral right-handed around plane normal.
Implements cg3d::Shape3d.
Definition at line 191 of file cg3d.C.
References cg3d::Planar3d::addPoint(), and p.
int cg3d::Tet3d::p[4] [private] |
int cg3d::Tet3d::h[4] [private] |