FemViewer::Plane Class Reference
#include <Plane.h>
List of all members.
Classes |
union | params |
Public Types |
typedef fvmath::Vec3d | vec3 |
typedef fvmath::CVec3d | cvec3 |
typedef fvmath::Vec4< CoordType > | vec4 |
Public Member Functions |
| Plane () |
| Plane (const Plane &rhs) |
void | operator= (const Plane &rhs) |
void | Reset () |
virtual | ~Plane () |
virtual void | SetPlane (double n[3], double p[3]) |
double * | GetParams () |
const double * | GetParams () const |
double | EvaluatePlane (const double x1, const double x2, const double x3) const |
double | Calculate (const double *v) |
int | CheckLocation (const double &x1, const double &x2, const double &x3) const |
int | CheckLocation (const double x[]) const |
Static Public Member Functions |
static double | DistanceToPlane (double x[3], double n[3], double p0[3]) |
static double | Evaluate (const double n[4], const double x[3]) |
static int | Check (const double n[4], const double x[3]) |
static int | IntersectWithLine (const double pn[4], double p2[3], double p1[3], double &u) |
static int | GetCuttedLine (double pn[4], double p2[3], double p1[3], double p0[3]) |
static int | CreatePlanesForPrism (const vec3 el_coords[6], vec4 el_planes[5]) |
static int | CreatePlanesForTetra (const vec3 el_coords[4], vec4 el_planes[4]) |
static void | Extract (const vec3 *pt, const vec3 *n, vec4 *prams) |
Protected Attributes |
params | p |
Member Typedef Documentation
Constructor & Destructor Documentation
FemViewer::Plane::Plane |
( |
|
) |
[inline] |
FemViewer::Plane::Plane |
( |
const Plane & |
rhs |
) |
[inline] |
virtual FemViewer::Plane::~Plane |
( |
|
) |
[inline, virtual] |
Member Function Documentation
double FemViewer::Plane::Calculate |
( |
const double * |
v |
) |
[inline] |
int FemViewer::Plane::Check |
( |
const double |
n[4], |
|
|
const double |
x[3] | |
|
) |
| | [static] |
int FemViewer::Plane::CheckLocation |
( |
const double |
x[] |
) |
const [inline] |
int FemViewer::Plane::CheckLocation |
( |
const double & |
x1, |
|
|
const double & |
x2, |
|
|
const double & |
x3 | |
|
) |
| | const [inline] |
int FemViewer::Plane::CreatePlanesForPrism |
( |
const vec3 |
el_coords[6], |
|
|
vec4 |
el_planes[5] | |
|
) |
| | [static] |
int FemViewer::Plane::CreatePlanesForTetra |
( |
const vec3 |
el_coords[4], |
|
|
vec4 |
el_planes[4] | |
|
) |
| | [static] |
double FemViewer::Plane::DistanceToPlane |
( |
double |
x[3], |
|
|
double |
n[3], |
|
|
double |
p0[3] | |
|
) |
| | [inline, static] |
double FemViewer::Plane::Evaluate |
( |
const double |
n[4], |
|
|
const double |
x[3] | |
|
) |
| | [inline, static] |
double FemViewer::Plane::EvaluatePlane |
( |
const double |
x1, |
|
|
const double |
x2, |
|
|
const double |
x3 | |
|
) |
| | const [inline] |
void FemViewer::Plane::Extract |
( |
const vec3 * |
pt, |
|
|
const vec3 * |
n, |
|
|
vec4 * |
prams | |
|
) |
| | [static] |
int FemViewer::Plane::GetCuttedLine |
( |
double |
pn[4], |
|
|
double |
p2[3], |
|
|
double |
p1[3], |
|
|
double |
p0[3] | |
|
) |
| | [static] |
const double* FemViewer::Plane::GetParams |
( |
|
) |
const [inline] |
double* FemViewer::Plane::GetParams |
( |
|
) |
[inline] |
int FemViewer::Plane::IntersectWithLine |
( |
const double |
pn[4], |
|
|
double |
p2[3], |
|
|
double |
p1[3], |
|
|
double & |
u | |
|
) |
| | [static] |
void FemViewer::Plane::operator= |
( |
const Plane & |
rhs |
) |
[inline] |
void FemViewer::Plane::Reset |
( |
void |
|
) |
[inline] |
void FemViewer::Plane::SetPlane |
( |
double |
n[3], |
|
|
double |
p[3] | |
|
) |
| | [virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: