PPL Logo

cg3d::Tet3d Class Reference

A 4-node tetrahedron. More...

#include <cg3d.h>

Inheritance diagram for cg3d::Tet3d:

Inheritance graph
[legend]
Collaboration diagram for cg3d::Tet3d:

Collaboration graph
[legend]

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]

Detailed Description

A 4-node tetrahedron.

Definition at line 201 of file cg3d.h.


Constructor & Destructor Documentation

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().

Here is the call graph for this function:

cg3d::Tet3d::Tet3d ( const Tet3d t  )  [inline]

Copy constructor.

Definition at line 209 of file cg3d.h.

References h, and p.


Member Function Documentation

void cg3d::Tet3d::operator= ( const Tet3d t  )  [private]

void Tet3d::getFace ( int  f,
Planar3d face 
) const [virtual]

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.

Here is the call graph for this function:


Field Documentation

int cg3d::Tet3d::p[4] [private]

Definition at line 202 of file cg3d.h.

Referenced by earlyExit(), getFace(), and Tet3d().

int cg3d::Tet3d::h[4] [private]

Definition at line 203 of file cg3d.h.

Referenced by earlyExit(), and Tet3d().


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:33:32 2020 for Charm++ by  doxygen 1.5.5