#include <ckvector3d.h>
Public Types | |
typedef const CkVector3d | cv |
Public Member Functions | |
CkHalfspace3d () | |
CkHalfspace3d (cv &p1, cv &p2, cv &p3) | |
CkHalfspace3d (cv &p1, cv &p2, cv &p3, cv &in) | |
CkHalfspace3d (cv &norm, cv &p0) | |
void | init (cv &p1, cv &p2, cv &p3) |
void | initCheck (cv &p1, cv &p2, cv &p3, cv &in) |
double | side (cv &pt) const |
double | intersect (cv &pos, cv &dir) const |
CkVector3d | intersectPt (cv &start, cv &dir) const |
Data Fields | |
CkVector3d | n |
double | d |
Definition at line 146 of file ckvector3d.h.
typedef const CkVector3d CkHalfspace3d::cv |
Definition at line 152 of file ckvector3d.h.
CkHalfspace3d::CkHalfspace3d | ( | ) | [inline] |
Definition at line 153 of file ckvector3d.h.
Definition at line 154 of file ckvector3d.h.
References init().
Definition at line 155 of file ckvector3d.h.
References initCheck().
Definition at line 157 of file ckvector3d.h.
References d, CkVector3dT< real >::dot(), and n.
Definition at line 161 of file ckvector3d.h.
References d, CkVector3dT< real >::dot(), and n.
Referenced by CkHalfspace3d(), initCheck(), and cg3d::Tet3d::Tet3d().
Definition at line 167 of file ckvector3d.h.
References d, init(), n, and side().
Referenced by CkHalfspace3d().
double CkHalfspace3d::side | ( | cv & | pt | ) | const [inline] |
Definition at line 172 of file ckvector3d.h.
References d, CkVector3dT< real >::dot(), and n.
Referenced by cg3d::PointSet3d::addHalf(), CkViewpoint::allOffscreen(), initCheck(), cg3d::PointSet3d::isInside(), cg3d::PointSet3d::isOutside(), cg3d::testShape(), and cg3d::Tet3d::Tet3d().
Definition at line 176 of file ckvector3d.h.
References d, CkVector3dT< real >::dot(), and n.
Referenced by intersectPt().
CkVector3d CkHalfspace3d::intersectPt | ( | cv & | start, | |
cv & | dir | |||
) | const [inline] |
Definition at line 181 of file ckvector3d.h.
References intersect().
Referenced by cg3d::Planar3d::addConstraint().
Definition at line 149 of file ckvector3d.h.
Referenced by CkHalfspace3d(), init(), initCheck(), intersect(), side(), and test_vol_planes().
double CkHalfspace3d::d |
Definition at line 150 of file ckvector3d.h.
Referenced by CkHalfspace3d(), init(), initCheck(), intersect(), side(), and test_vol_planes().