|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Triangle wrapper. More...
#include <eepicgeom.H>
Private Member Functions | |
| Eepic_Triangle (const Triangle &o) | |
| ~Eepic_Triangle () | |
| 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_Object * | clone () const override |
| Create a polymorphic copy of this object. | |
| void | draw (Eepic_Plane *plane, std::ostream &output) const override |
| Draws the wrapped Triangle object. | |
Friends | |
| void | put_in_plane (Eepic_Plane &plane, const Triangle &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. | |
Triangle wrapper.
Definition at line 1234 of file eepicgeom.H.
Definition at line 1234 of file eepicgeom.H.
|
inlineprivate |
Definition at line 1234 of file eepicgeom.H.
|
inlineoverrideprivatevirtual |
Create a polymorphic copy of this object.
Derived classes must implement this to return a new instance of their specific type.
Implements Eepic_Geom_Object.
Definition at line 1234 of file eepicgeom.H.
|
overrideprivatevirtual |
Draws the wrapped Triangle object.
Reimplemented from Eepic_Geom_Object.
Definition at line 314 of file eepicgeom.C.
References Aleph::divide_and_conquer_partition_dp(), Aleph::Triangle::get_p1(), Aleph::Triangle::get_p2(), Aleph::Triangle::get_p3(), Aleph::Point::get_x(), Aleph::Point::get_y(), output, Aleph::Point::to_string(), Eepic_Plane::x_geom_number_to_eepic(), and Eepic_Plane::y_geom_number_to_eepic().
|
inlineoverrideprivatevirtual |
Get the highest point (maximum y-coordinate) of this object.
Implements Eepic_Geom_Object.
Definition at line 1234 of file eepicgeom.H.
|
inlineoverrideprivatevirtual |
Get the leftmost point (minimum x-coordinate) of this object.
Implements Eepic_Geom_Object.
Definition at line 1234 of file eepicgeom.H.
|
inlineoverrideprivatevirtual |
Get the lowest point (minimum y-coordinate) of this object.
Implements Eepic_Geom_Object.
Definition at line 1234 of file eepicgeom.H.
|
inlineoverrideprivatevirtual |
Get the rightmost point (maximum x-coordinate) of this object.
Implements Eepic_Geom_Object.
Definition at line 1234 of file eepicgeom.H.
|
friend |
Definition at line 55 of file eepicgeom.C.