|
ESyS-Particle
2.3
|
#include <RectPatch.h>
Public Member Functions | |
| RectPatch (double, double, double, double, double, double) | |
| double | sep (const Vec3 &) |
| double | dist (const Vec3 &) |
| bool | intersect (const Vec3 &, const Vec3 &) |
| Plane3D | getPlane (const Vec3 &) |
| Vec3 | getBasePoint () const |
Private Attributes | |
| double | m_xmin |
| double | m_xmax |
| double | m_zmin |
| double | m_zmax |
| double | m_y0 |
| double | m_dy |
| RectPatch::RectPatch | ( | double | xmin, |
| double | xmax, | ||
| double | zmin, | ||
| double | zmax, | ||
| double | y0, | ||
| double | dy | ||
| ) |
| double RectPatch::dist | ( | const Vec3 & | P | ) |
Get distance from given point to closest point of patch.
| P | the point |
References sep().

|
inline |
| double RectPatch::sep | ( | const Vec3 & | P | ) |
Get (perpendicular) distance from given point. If projection of point onto plane is outside patch return -1
| P | the point |
References m_dy, m_xmax, m_xmin, m_y0, m_zmax, m_zmin, Vec3::X(), Vec3::Y(), and Vec3::Z().
Referenced by dist(), and CRoughPaddedBlock3D::getClosestPlane().


|
private |
Referenced by getPlane(), RectPatch(), and sep().
|
private |
Referenced by intersect(), RectPatch(), and sep().
|
private |
Referenced by getPlane(), intersect(), RectPatch(), and sep().
|
private |
Referenced by getPlane(), intersect(), RectPatch(), and sep().
|
private |
Referenced by intersect(), RectPatch(), and sep().
|
private |
Referenced by getPlane(), intersect(), RectPatch(), and sep().