#include <RectPatch.h>
◆ RectPatch()
| RectPatch::RectPatch |
( |
double |
xmin, |
|
|
double |
xmax, |
|
|
double |
zmin, |
|
|
double |
zmax, |
|
|
double |
y0, |
|
|
double |
dy |
|
) |
| |
construct a axis aligned rectangular patch in the x-z plane
- Parameters
-
| xmin | min. x-pos |
| xmax | max. x-pos |
| zmin | min. z-pos |
| zmax | max. z-pos |
| z0 | z-pos |
| dz | "roughness" parameter |
References m_dy, m_xmax, m_xmin, m_y0, m_zmax, and m_zmin.
◆ dist()
| double RectPatch::dist |
( |
const Vec3 & |
P | ) |
|
Get distance from given point to closest point of patch.
- Parameters
-
References sep().
◆ getBasePoint()
| Vec3 RectPatch::getBasePoint |
( |
| ) |
const |
|
inline |
◆ getPlane()
◆ intersect()
| bool RectPatch::intersect |
( |
const Vec3 & |
P1, |
|
|
const Vec3 & |
P2 |
|
) |
| |
◆ sep()
| double RectPatch::sep |
( |
const Vec3 & |
P | ) |
|
◆ m_dy
◆ m_xmax
◆ m_xmin
◆ m_y0
◆ m_zmax
◆ m_zmin
The documentation for this class was generated from the following files: