Definition of a plane with equation ax + by + cz + d = 0.
More...
#include <shapes.h>
|
Plane * | clone () const override |
| Create a copy of this shape. More...
|
|
bool | isFixed () const override |
| Return a flag indicating whether this shape can be scaled and/or padded. More...
|
|
| Plane () |
|
| Plane (double pa, double pb, double pc, double pd) |
|
void | print (std::ostream &out=std::cout) const override |
| Print information about this shape. More...
|
|
void | scaleAndPadd (double scale, double padd) override |
| Uniformly scale and padd this shape. More...
|
|
void | padd (double padding) |
| Add uniform padding to this shape. More...
|
|
void | scale (double scale) |
| Uniformly 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 367 of file shapes.h.
◆ Plane() [1/2]
◆ Plane() [2/2]
shapes::Plane::Plane |
( |
double |
pa, |
|
|
double |
pb, |
|
|
double |
pc, |
|
|
double |
pd |
|
) |
| |
◆ clone()
Plane * shapes::Plane::clone |
( |
| ) |
const |
|
overridevirtual |
◆ isFixed()
bool shapes::Plane::isFixed |
( |
| ) |
const |
|
overridevirtual |
Return a flag indicating whether this shape can be scaled and/or padded.
Reimplemented from shapes::Shape.
Definition at line 521 of file shapes.cpp.
◆ print()
void shapes::Plane::print |
( |
std::ostream & |
out = std::cout | ) |
const |
|
overridevirtual |
◆ scaleAndPadd()
void shapes::Plane::scaleAndPadd |
( |
double |
scale, |
|
|
double |
padd |
|
) |
| |
|
overridevirtual |
The plane equation is ax + by + cz + d = 0.
Definition at line 382 of file shapes.h.
◆ STRING_NAME
const std::string shapes::Plane::STRING_NAME = "plane" |
|
static |
The type of the shape, as a string.
Definition at line 374 of file shapes.h.
The documentation for this class was generated from the following files: