topology::point_set< C, Point > Struct Template Reference

List of all members.

Detailed Description

template<class C, class Point = topology::point<C>>
struct topology::point_set< C, Point >

Structure that defines a point_set.

Definition at line 23 of file point_set.h.

Public Types

typedef std::vector< Point > rep_t
typedef Point value_type
typedef Point point_t
typedef unsigned size_type
typedef rep_t::iterator iterator
typedef rep_t::const_iterator const_iterator
typedef Point::coeff_t coeff_t

Public Member Functions

 point_set ()
 point_set (const point_set &S)
 point_set (const Point &p1)
point_set< C, Point > & insert (const Point &p1)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
unsigned size () const
void resize (int n)
Point & operator[] (unsigned i)
Point operator[] (unsigned i) const

Public Attributes

rep_t rep_


Member Typedef Documentation

template<class C, class Point = topology::point<C>>
typedef Point::coeff_t topology::point_set< C, Point >::coeff_t

The type of the coefficients.

Definition at line 33 of file point_set.h.


Constructor & Destructor Documentation

template<class C, class Point = topology::point<C>>
topology::point_set< C, Point >::point_set ( const point_set< C, Point > &  S  ) 

Copy constructor.

Definition at line 40 of file point_set.h.

template<class C, class Point = topology::point<C>>
topology::point_set< C, Point >::point_set ( const Point &  p1  ) 

Constructor from a point.

Definition at line 43 of file point_set.h.

References topology::point_set< C, Point >::rep_.


Member Function Documentation

template<class C, class Point = topology::point<C>>
point_set<C,Point>& topology::point_set< C, Point >::insert ( const Point &  p1  ) 

Insert a point in the point set.

Definition at line 49 of file point_set.h.

References topology::point_set< C, Point >::rep_.


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

SYNAPS DOCUMENTATION
logo