Definition of a plane with equation ax + by + cz + d = 0.
More...
#include <shapes.h>
|
virtual Shape * | clone () const |
| Create a copy of this shape. More...
|
|
virtual bool | isFixed () const |
| Return a flag indicating whether this shape can be scaled and/or padded. More...
|
|
| Plane () |
|
| Plane (double pa, double pb, double pc, double pd) |
|
virtual void | print (std::ostream &out=std::cout) const |
| Print information about this shape. More...
|
|
virtual void | scaleAndPadd (double scale, double padd) |
| Scale and padd this shape. More...
|
|
void | padd (double padding) |
| Add padding to this shape. More...
|
|
void | scale (double scale) |
| Scale this shape by a factor. More...
|
|
| Shape () |
|
virtual | ~Shape () |
|
|
static const std::string | STRING_NAME = "plane" |
| The type of the shape, as a string. More...
|
|
Definition of a plane with equation ax + by + cz + d = 0.
Definition at line 245 of file shapes.h.
shapes::Plane::Plane |
( |
double |
pa, |
|
|
double |
pb, |
|
|
double |
pc, |
|
|
double |
pd |
|
) |
| |
Shape * shapes::Plane::clone |
( |
| ) |
const |
|
virtual |
bool shapes::Plane::isFixed |
( |
| ) |
const |
|
virtual |
Return a flag indicating whether this shape can be scaled and/or padded.
Reimplemented from shapes::Shape.
Definition at line 416 of file shapes.cpp.
void shapes::Plane::print |
( |
std::ostream & |
out = std::cout | ) |
const |
|
virtual |
void shapes::Plane::scaleAndPadd |
( |
double |
scale, |
|
|
double |
padd |
|
) |
| |
|
virtual |
The plane equation is ax + by + cz + d = 0.
Definition at line 260 of file shapes.h.
const std::string shapes::Plane::STRING_NAME = "plane" |
|
static |
The type of the shape, as a string.
Definition at line 252 of file shapes.h.
The documentation for this class was generated from the following files: