objtree::Plane Class Reference
#include <plane.h>
List of all members.
Detailed Description
Plane class. Represent plane in octree.
Definition at line 43 of file plane.h.
Constructor & Destructor Documentation
objtree::Plane::Plane |
( |
const Point & |
center, |
|
|
const Vector & |
normal, |
|
|
const Point & |
scale | |
|
) |
| | |
A constructor. Creates plane from center point, normal and scale.
- Parameters:
-
| center | center point |
| normal | plane normal |
| scale | size of plane bounding box |
Definition at line 82 of file plane.cpp.
objtree::Plane::Plane |
( |
const Polygon & |
points |
) |
|
A constructor. Creates plane from a polygon.
- Parameters:
-
Definition at line 40 of file plane.cpp.
Member Function Documentation
const Point& objtree::Plane::boundingMax |
( |
|
) |
const [inline] |
const Point& objtree::Plane::boundingMin |
( |
|
) |
const [inline] |
bool objtree::Plane::fitsIntoBox |
( |
const Box & |
box |
) |
const [virtual] |
Returns true if plane fits into a box. TODO: Not implemented.
- Parameters:
-
- Returns:
- true if plane fits into a box, false otherwise
Implements objtree::Object.
Definition at line 108 of file plane.cpp.
bool objtree::Plane::interfereWithBox |
( |
const Box & |
box |
) |
const [virtual] |
Returns true if plane interferes with a box.
- Parameters:
-
- Returns:
- true if plane interferes with box, false otherwise
Implements objtree::Object.
Definition at line 118 of file plane.cpp.
bool objtree::Plane::isPointInside |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z | |
|
) |
| | const [virtual] |
Check if point is on a plane.
- Parameters:
-
- Returns:
- true if point is on a plane, false otherwise
Implements objtree::Object.
Definition at line 175 of file plane.cpp.
bool objtree::Plane::isSimilar |
( |
const Object * |
object |
) |
const [virtual] |
Compare other object for similarity.
- Parameters:
-
- Returns:
- true if object is similar, false otherwise
Implements objtree::Object.
Definition at line 150 of file plane.cpp.
const Vector& objtree::Plane::normal |
( |
|
) |
const [inline] |
const Polygon& objtree::Plane::points |
( |
|
) |
const [inline] |
const Point& objtree::Plane::pos |
( |
|
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following files:
srs_env_model
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Tomas Lokaj, Jan Gorig, Michal Spanel (spanel@fit.vutbr.cz)
autogenerated on Tue Mar 5 14:33:48 2013