|
ESyS-Particle
4.0.1
|
Class representing a Plane. More...
#include <Plane.h>

Public Member Functions | |
| Plane () | |
| Plane (const Vec3 &iDir, const Vec3 &iPos) | |
| Plane (const Vec3 &iU, const Vec3 &iV, const Vec3 &iPos) | |
| virtual double | sep (const Vec3 &) const |
| virtual double | dist (const Vec3 &) |
| virtual Vec3 | ToClosest (const Vec3 &M) |
| Vec3 | GetU () const |
| Vec3 | GetV () const |
| const Vec3 & | GetW () const |
| Vec3 | getNormal () const |
| const Vec3 & | GetO () const |
| Vec3 | getPos () const |
Protected Member Functions | |
| void | Create () |
Protected Attributes | |
| Vec3 | U |
| Vec3 | V |
| bool | force3D |
| Vec3 | Dir |
| Vec3 | Pos |
Class representing a Plane.
| Plane::Plane | ( | ) |
"empty" default constructor
| Plane::Plane | ( | const Vec3 & | iDir, |
| const Vec3 & | iPos | ||
| ) |
Construct plane from pos. and normal vector
| iPos | position |
| iDir | normal vector |
References Create().

| Plane::Plane | ( | const Vec3 & | iU, |
| const Vec3 & | iV, | ||
| const Vec3 & | iPos | ||
| ) |
Construct plane from pos. and 2 vectors spanning the plane
| iPos | position |
| iU | |
| iV |
| void Plane::Create | ( | ) | [protected] |
setup spanning vectors from pos & normal
Referenced by Plane().

| double Plane::dist | ( | const Vec3 & | M | ) | [virtual] |
signed separation according to Direction of the normal
| M | the point |
| double Plane::sep | ( | const Vec3 & | M | ) | const [virtual] |
distance of a point from the plane
| M | the point |
Referenced by ARandomAssembly3D::checkAFit(), ARandomAssembly3D::fillSpace(), CRoughPaddedBlock3D::getClosestPlane(), and ARandomAssembly3D::getClosestPlane().

1.7.6.1