Class Plane

Inheritance Relationships

Base Type

Class Documentation

class Plane : public shapes::Shape

Definition of a plane with equation ax + by + cz + d = 0.

Public Functions

Plane()
Plane(double pa, double pb, double pc, double pd)
virtual Plane *clone() const override

Create a copy of this shape.

virtual void print(std::ostream &out = std::cout) const override

Print information about this shape.

virtual void scaleAndPadd(double scale, double padd) override

Uniformly scale and padd this shape.

virtual bool isFixed() const override

Return a flag indicating whether this shape can be scaled and/or padded.

Public Members

double a

The plane equation is ax + by + cz + d = 0.

double b
double c
double d

Public Static Attributes

static const std::string STRING_NAME

The type of the shape, as a string.