DeSiGNAR
0.5a
Data Structures General Library
|
#include <polygon.H>
Additional Inherited Members | |
Public Types inherited from Designar::GenPolygon< PointInt2D > | |
using | PointType = PointInt2D |
using | SegmentType = GenSegment< PointInt2D > |
Public Member Functions inherited from Designar::GenPolygon< PointInt2D > | |
GenPolygon () | |
GenPolygon (const std::initializer_list< PointInt2D > &) | |
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 PointInt2D &p) |
void | add_vertex (PointInt2D &&p) |
PointInt2D & | get_first_vertex () |
const PointInt2D & | get_first_vertex () const |
PointInt2D & | get_last_vertex () |
const PointInt2D & | 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 |