DeSiGNAR
0.5a
Data Structures General Library
|
#include <polygon.H>
Additional Inherited Members | |
Public Types inherited from Designar::GenPolygon< Point2D > | |
using | PointType = Point2D |
using | SegmentType = GenSegment< Point2D > |
Public Member Functions inherited from Designar::GenPolygon< Point2D > | |
GenPolygon () | |
GenPolygon (const std::initializer_list< Point2D > &) | |
GenPolygon (const GenPolygon &p) | |
GenPolygon (GenPolygon &&p) | |
~GenPolygon () | |
GenPolygon & | operator= (const GenPolygon &p) |
GenPolygon & | operator= (GenPolygon &&p) |
void | swap (GenPolygon &p) |
void | clear () |
void | add_vertex (const Point2D &p) |
void | add_vertex (Point2D &&p) |
Point2D & | get_first_vertex () |
const Point2D & | get_first_vertex () const |
Point2D & | get_last_vertex () |
const Point2D & | get_last_vertex () const |
SegmentType | get_first_segment () const |
SegmentType | get_last_segment () const |
bool | is_empty () const |
nat_t | size () const |
VertexIterator | vertices_begin () |
VertexIterator | vertices_begin () const |
VertexIterator | vertices_end () |
VertexIterator | vertices_end () const |
SegmentIterator | segments_begin () |
SegmentIterator | segments_begin () const |
SegmentIterator | segments_end () |
SegmentIterator | segments_end () const |
void | for_each_vertex (Op &op) const |
void | for_each_vertex (Op &&op=Op()) const |
bool | all_vertex (Pred &pred) const |
bool | all_vertex (Pred &&pred=Pred()) const |
bool | exists_vertex (Pred &pred) const |
bool | exists_vertex (Pred &&pred=Pred()) const |
bool | none_vertex (Pred &pred) const |
bool | none_vertex (Pred &&pred=Pred()) const |
void | for_each_segment (Op &op) const |
void | for_each_segment (Op &&op=Op()) const |
bool | all_segment (Pred &pred) const |
bool | all_segment (Pred &&pred=Pred()) const |
bool | exists_segment (Pred &pred) const |
bool | exists_segment (Pred &&pred=Pred()) const |
bool | none_segment (Pred &pred) const |
bool | none_segment (Pred &&pred=Pred()) const |