Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Eepic_Thick_Shade_Polygon_With_Vertex_Numbers Class Reference

#include <eepicgeom.H>

Inheritance diagram for Eepic_Thick_Shade_Polygon_With_Vertex_Numbers:
[legend]
Collaboration diagram for Eepic_Thick_Shade_Polygon_With_Vertex_Numbers:
[legend]

Private Member Functions

 Eepic_Thick_Shade_Polygon_With_Vertex_Numbers (const Thick_Shade_Polygon_With_Vertex_Numbers &o)
 
 ~Eepic_Thick_Shade_Polygon_With_Vertex_Numbers ()
 
Point highest_point () const override
 Get the highest point (maximum y-coordinate) of this object.
 
Point lowest_point () const override
 Get the lowest point (minimum y-coordinate) of this object.
 
Point leftmost_point () const override
 Get the leftmost point (minimum x-coordinate) of this object.
 
Point rightmost_point () const override
 Get the rightmost point (maximum x-coordinate) of this object.
 
Eepic_Geom_Objectclone () const override
 Create a polymorphic copy of this object.
 
void draw (Eepic_Plane *plane, std::ostream &output) const override
 Generate EEPIC code for this object.
 

Friends

void put_in_plane (Eepic_Plane &plane, const Thick_Shade_Polygon_With_Vertex_Numbers &geom_obj)
 

Additional Inherited Members

- Public Member Functions inherited from Eepic_Geom_Object
 Eepic_Geom_Object (Geom_Object *ptr, const bool &__to_delete=false)
 Construct an EEPIC wrapper for a geometric object.
 
virtual ~Eepic_Geom_Object ()
 Virtual destructor.
 
- Protected Attributes inherited from Eepic_Geom_Object
const Geom_Object *const geom_object_ptr
 Pointer to the wrapped geometric object.
 
bool to_delete
 Flag indicating ownership of geom_object_ptr.
 

Detailed Description

Definition at line 1409 of file eepicgeom.H.

Constructor & Destructor Documentation

◆ Eepic_Thick_Shade_Polygon_With_Vertex_Numbers()

Eepic_Thick_Shade_Polygon_With_Vertex_Numbers::Eepic_Thick_Shade_Polygon_With_Vertex_Numbers ( const Thick_Shade_Polygon_With_Vertex_Numbers o)
inlineprivate

Definition at line 1409 of file eepicgeom.H.

◆ ~Eepic_Thick_Shade_Polygon_With_Vertex_Numbers()

Eepic_Thick_Shade_Polygon_With_Vertex_Numbers::~Eepic_Thick_Shade_Polygon_With_Vertex_Numbers ( )
inlineprivate

Definition at line 1409 of file eepicgeom.H.

Member Function Documentation

◆ clone()

Eepic_Geom_Object * Eepic_Thick_Shade_Polygon_With_Vertex_Numbers::clone ( ) const
inlineoverrideprivatevirtual

Create a polymorphic copy of this object.

Derived classes must implement this to return a new instance of their specific type.

Returns
A new heap-allocated copy of this object

Implements Eepic_Geom_Object.

Definition at line 1409 of file eepicgeom.H.

◆ draw()

void Eepic_Thick_Shade_Polygon_With_Vertex_Numbers::draw ( Eepic_Plane plane,
std::ostream &  output 
) const
overrideprivatevirtual

Generate EEPIC code for this object.

Derived classes must override this method to produce the appropriate EEPIC LaTeX commands for their geometric type.

Parameters
planeThe Eepic_Plane providing coordinate transformation
outputThe output stream to write EEPIC code to
Exceptions
std::domain_errorif geom_object_ptr is null
std::logic_errorif called on the base class (not overridden)

Reimplemented from Eepic_Geom_Object.

Definition at line 714 of file eepicgeom.C.

References Eepic_Plane::draw_closed_polygon(), Eepic_Plane::draw_vertex_numbers_in_polygon(), Eepic_Geom_Object::geom_object_ptr, and output.

◆ highest_point()

Point Eepic_Thick_Shade_Polygon_With_Vertex_Numbers::highest_point ( ) const
inlineoverrideprivatevirtual

Get the highest point (maximum y-coordinate) of this object.

Returns
The point with the maximum y-coordinate

Implements Eepic_Geom_Object.

Definition at line 1409 of file eepicgeom.H.

◆ leftmost_point()

Point Eepic_Thick_Shade_Polygon_With_Vertex_Numbers::leftmost_point ( ) const
inlineoverrideprivatevirtual

Get the leftmost point (minimum x-coordinate) of this object.

Returns
The point with the minimum x-coordinate

Implements Eepic_Geom_Object.

Definition at line 1409 of file eepicgeom.H.

◆ lowest_point()

Point Eepic_Thick_Shade_Polygon_With_Vertex_Numbers::lowest_point ( ) const
inlineoverrideprivatevirtual

Get the lowest point (minimum y-coordinate) of this object.

Returns
The point with the minimum y-coordinate

Implements Eepic_Geom_Object.

Definition at line 1409 of file eepicgeom.H.

◆ rightmost_point()

Point Eepic_Thick_Shade_Polygon_With_Vertex_Numbers::rightmost_point ( ) const
inlineoverrideprivatevirtual

Get the rightmost point (maximum x-coordinate) of this object.

Returns
The point with the maximum x-coordinate

Implements Eepic_Geom_Object.

Definition at line 1409 of file eepicgeom.H.

Friends And Related Symbol Documentation

◆ put_in_plane

void put_in_plane ( Eepic_Plane plane,
const Thick_Shade_Polygon_With_Vertex_Numbers geom_obj 
)
friend

Definition at line 171 of file eepicgeom.C.


The documentation for this class was generated from the following files: