DeSiGNAR  0.5a
Data Structures General Library
List of all members
Designar::Polygon Class Reference

#include <polygon.H>

Inheritance diagram for Designar::Polygon:
Inheritance graph
[legend]
Collaboration diagram for Designar::Polygon:
Collaboration graph
[legend]

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 ()
 
GenPolygonoperator= (const GenPolygon &p)
 
GenPolygonoperator= (GenPolygon &&p)
 
void swap (GenPolygon &p)
 
void clear ()
 
void add_vertex (const Point2D &p)
 
void add_vertex (Point2D &&p)
 
Point2Dget_first_vertex ()
 
const Point2Dget_first_vertex () const
 
Point2Dget_last_vertex ()
 
const Point2Dget_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
 

The documentation for this class was generated from the following file: