|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <eepicgeom.H>
Public Member Functions | |
| Shade_Regular_Polygon_With_Vertex_Numbers () | |
| Shade_Regular_Polygon_With_Vertex_Numbers (const Regular_Polygon &p) | |
| Shade_Regular_Polygon_With_Vertex_Numbers (const Point &c, const double &side_sz, const size_t &n, const double &ang=0) | |
Public Member Functions inherited from Regular_Polygon | |
| Regular_Polygon () | |
| Default constructor. Creates an invalid empty polygon. | |
| Regular_Polygon (const Point &c, const double &side_sz, const size_t &n, const double &ang=0) | |
| Construct a regular polygon. | |
| const double & | get_side_size () const |
| Get the side length. | |
| const Point & | get_center () const |
| Get the center point. | |
| const size_t & | size () const |
| Get the number of vertices. | |
| const double & | radius () const |
| Get the circumradius. | |
| bool | is_closed () const |
| Check if the polygon is closed. | |
| const Point | get_vertex (const size_t &i) const |
| Get the i-th vertex of the polygon. | |
| const Point | get_first_vertex () const |
| Get the first vertex (index 0). | |
| const Point | get_last_vertex () const |
| Get the last vertex (index size()-1). | |
| Segment | get_first_segment () const |
| Get the first segment (edge). | |
| Segment | get_last_segment () const |
| Get the last segment (closing edge). | |
| Point | lowest_point () const |
| Get the lowest point of the bounding circle. | |
| Point | highest_point () const |
| Get the highest point of the bounding circle. | |
| Point | leftmost_point () const |
| Get the leftmost point of the bounding circle. | |
| Point | rightmost_point () const |
| Get the rightmost point of the bounding circle. | |
Public Member Functions inherited from Geom_Object | |
| Geom_Object ()=default | |
| virtual | ~Geom_Object ()=default |
Definition at line 1484 of file eepicgeom.H.
|
inline |
Definition at line 1484 of file eepicgeom.H.
|
inline |
Definition at line 1484 of file eepicgeom.H.
|
inline |
Definition at line 1484 of file eepicgeom.H.