|
DeSiGNAR
0.5a
Data Structures General Library
|
#include <polygon.H>
Classes | |
| class | SegmentIterator |
| class | VertexIterator |
Public Types | |
| using | PointType = PointT |
| using | SegmentType = GenSegment< PointT > |
Public Member Functions | |
| GenPolygon () | |
| GenPolygon (const std::initializer_list< PointT > &) | |
| 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 PointT &p) |
| void | add_vertex (PointT &&p) |
| PointT & | get_first_vertex () |
| const PointT & | get_first_vertex () const |
| PointT & | get_last_vertex () |
| const PointT & | 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 |
| template<class Op > | |
| void | for_each_vertex (Op &op) const |
| template<class Op > | |
| void | for_each_vertex (Op &&op=Op()) const |
| template<class Pred > | |
| bool | all_vertex (Pred &pred) const |
| template<class Pred > | |
| bool | all_vertex (Pred &&pred=Pred()) const |
| template<class Pred > | |
| bool | exists_vertex (Pred &pred) const |
| template<class Pred > | |
| bool | exists_vertex (Pred &&pred=Pred()) const |
| template<class Pred > | |
| bool | none_vertex (Pred &pred) const |
| template<class Pred > | |
| bool | none_vertex (Pred &&pred=Pred()) const |
| template<class Op > | |
| void | for_each_segment (Op &op) const |
| template<class Op > | |
| void | for_each_segment (Op &&op=Op()) const |
| template<class Pred > | |
| bool | all_segment (Pred &pred) const |
| template<class Pred > | |
| bool | all_segment (Pred &&pred=Pred()) const |
| template<class Pred > | |
| bool | exists_segment (Pred &pred) const |
| template<class Pred > | |
| bool | exists_segment (Pred &&pred=Pred()) const |
| template<class Pred > | |
| bool | none_segment (Pred &pred) const |
| template<class Pred > | |
| bool | none_segment (Pred &&pred=Pred()) const |
| using Designar::GenPolygon< PointT >::PointType = PointT |
| using Designar::GenPolygon< PointT >::SegmentType = GenSegment<PointT> |
|
inline |
| Designar::GenPolygon< PointT >::GenPolygon | ( | const std::initializer_list< PointT > & | l | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Designar::GenPolygon< PointT >::clear | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.11