Polygonal Shape for Visualization.
More...
#include <PShape.h>
PShape represents a polygonal shape used for visualization with the PDF and Postscript Writer Visualizer2.
◆ PShape() [1/2]
GEOM_FADE25D::PShape::PShape |
( |
std::vector< Point2 > & |
vP_ | ) |
|
|
explicit |
Initializes a PShape object with a vector of Point2 objects. The points in vP_
define the vertices of the polygonal shape.
- Parameters
-
vP_ | A vector of Point2 objects representing the vertices of the shape. |
◆ PShape() [2/2]
GEOM_FADE25D::PShape::PShape |
( |
const PShape & |
other | ) |
|
Creates a new PShape object as a copy of another PShape object.
- Parameters
-
other | The PShape object to copy. |
◆ ~PShape()
GEOM_FADE25D::PShape::~PShape |
( |
| ) |
|
◆ operator=()
PShape& GEOM_FADE25D::PShape::operator= |
( |
const PShape & |
other | ) |
|
Assigns the values of one PShape object to another.
- Parameters
-
other | The PShape object to assign from. |
- Returns
- A reference to the assigned PShape object.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
PShape |
shape |
|
) |
| |
|
friend |
Prints the values of a PShape object to the specified output stream.
- Parameters
-
stream | The output stream where the PShape will be printed. |
shape | The PShape object to be printed. |
- Returns
- The output stream after printing the PShape.
The documentation for this class was generated from the following file: