shape_doc 0.1
curve_pl< C, V > Class Template Reference

#include <curve_pl.hpp>

Inheritance diagram for curve_pl< C, V >:
edge_set< C, REF_OF(V) > curve< REF_OF(REF_OF(V)) > point_set< C, REF_OF(REF_OF(V)) > SHAPE_OFV SHAPE_OFV

List of all members.

Public Types

Public Member Functions


Detailed Description

template<class C, class V = default_env>
class mmx::shape::curve_pl< C, V >

Definition at line 32 of file curve_pl.hpp.


Member Typedef Documentation

typedef bounding_box<C, REF_OF(V) > BoundingBox

Reimplemented from edge_set< C, REF_OF(V) >.

Definition at line 38 of file curve_pl.hpp.

typedef curve<V> Curve

Reimplemented from edge_set< C, REF_OF(V) >.

Definition at line 35 of file curve_pl.hpp.

typedef edge<C, REF_OF(V) > Edge

Reimplemented from edge_set< C, REF_OF(V) >.

Definition at line 39 of file curve_pl.hpp.

typedef edge_set<C, REF_OF(V) > EdgeSet

Definition at line 36 of file curve_pl.hpp.

typedef point<C, REF_OF(V) > Point

Reimplemented from edge_set< C, REF_OF(V) >.

Definition at line 37 of file curve_pl.hpp.

typedef Seq< Point >::const_iterator PointConstIterator [inherited]

Definition at line 45 of file point_set.hpp.

typedef Seq< Point >::iterator PointIterator [inherited]

Definition at line 44 of file point_set.hpp.

typedef point_set<C, REF_OF(REF_OF(V) ) > PointSet [inherited]

Definition at line 36 of file edge_set.hpp.


Constructor & Destructor Documentation

curve_pl ( void  )

Definition at line 66 of file curve_pl.hpp.

: Curve(), EdgeSet() {}
curve_pl ( unsigned  np,
unsigned  ne = 0 
)

Definition at line 67 of file curve_pl.hpp.

                                            : Curve(), EdgeSet(np) {
  m_edges.resize(ne);
}
curve_pl ( const BoundingBox box)

Definition at line 71 of file curve_pl.hpp.

: Curve(box), EdgeSet() {}
~curve_pl ( void  )

Definition at line 73 of file curve_pl.hpp.

{}

Member Function Documentation

PointConstIterator begin ( ) const [inline, inherited]

Definition at line 59 of file point_set.hpp.

{ return m_vertices.begin() ; }
PointIterator begin ( ) [inline, inherited]

Definition at line 60 of file point_set.hpp.

{ return m_vertices.begin() ; }
void clear ( void  )

Reimplemented from edge_set< C, REF_OF(V) >.

Definition at line 92 of file curve_pl.hpp.

                          {
  this->EdgeSet::clear() ;
}
bool closed ( void  )

Reimplemented from edge_set< C, REF_OF(V) >.

Definition at line 76 of file curve_pl.hpp.

                 {
  return false ;
}
Seq<Point *> criticalpoints ( void  )

Reimplemented from edge_set< C, REF_OF(V) >.

Seq<Edge*>& edges ( void  ) [inline, inherited]

Definition at line 60 of file edge_set.hpp.

                                 {
    return m_edges ;
  }
Seq<Edge*> edges ( void  ) const [inline, inherited]

Definition at line 64 of file edge_set.hpp.

                               {
    return m_edges ;
  }
PointConstIterator end ( ) const [inline, inherited]

Definition at line 61 of file point_set.hpp.

{ return m_vertices.end(); }
PointIterator end ( ) [inline, inherited]

Definition at line 62 of file point_set.hpp.

{ return m_vertices.end(); }
Seq<Point *> extremalpoints ( void  )

Reimplemented from edge_set< C, REF_OF(V) >.

const Edge& get_edge ( unsigned  i) const [inline, inherited]

Definition at line 68 of file edge_set.hpp.

{ return *(m_edges[i]) ; }
Edge& get_edge ( unsigned  i) [inline, inherited]

Definition at line 69 of file edge_set.hpp.

{ return *(m_edges[i]) ; }
void link ( void  )

Reimplemented from edge_set< C, REF_OF(V) >.

Definition at line 86 of file curve_pl.hpp.

               {
  //  for(unsigned int i = 0 ; i < m_vertices.size()-1 ; i++)
  //    push(new Edge(at(m_vertices, i), at(m_vertices, i+1))) ;
}
unsigned nbe ( void  ) const [inline, inherited]

Definition at line 73 of file edge_set.hpp.

                                  {
    return m_edges.size() ;
  }
unsigned nbv ( void  ) const [inline, inherited]

Definition at line 72 of file point_set.hpp.

{ return m_vertices.size() ; }
bool opened ( void  )

Reimplemented from edge_set< C, REF_OF(V) >.

Definition at line 81 of file curve_pl.hpp.

                 {
  return false ;
}
edge_set<C,REF_OF(V) >& operator<< ( Edge e) [inline, inherited]

Definition at line 71 of file edge_set.hpp.

{m_edges.push_back(e); return *this;}
point_set<C,REF_OF(REF_OF(V)) >& operator<< ( const Point p) [inline, inherited]

Definition at line 75 of file point_set.hpp.

References point_set< C, V >::push_back().

{ push_back(p); return *this; }
void pop ( Point vertex)

Reimplemented from edge_set< C, REF_OF(V) >.

void pop ( Edge edge)

Reimplemented from edge_set< C, REF_OF(V) >.

point_set<C,REF_OF(REF_OF(V)) >& push ( const Point p) [inline, inherited]

Definition at line 76 of file point_set.hpp.

References point_set< C, V >::push_back().

{ push_back(p); return *this; }
void push_back ( const Point p) [inherited]
void push_edge ( Edge e) [inherited]
typedef SHAPE_OF ( REF_OF(REF_OF(V))  ) [inherited]
Seq<Point *> singularpoints ( void  )

Reimplemented from edge_set< C, REF_OF(V) >.

unsigned size ( void  ) const [inline, inherited]

Definition at line 73 of file point_set.hpp.

{ return m_vertices.size() ; }
void sort ( void  )

Reimplemented from edge_set< C, REF_OF(V) >.

Point& vertex ( unsigned  i) [inline, inherited]

Definition at line 68 of file point_set.hpp.

                            {
    return m_vertices[i] ;
  }
const Point& vertex ( unsigned  i) const [inline, inherited]

Definition at line 64 of file point_set.hpp.

                                        {
    return m_vertices[i] ;
  }
Seq<Point>& vertices ( void  ) [inline, inherited]

Definition at line 57 of file point_set.hpp.

{ return m_vertices ; }

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