shape_doc 0.1
edge< C, V, POINT > Struct Template Reference

#include <edge.hpp>

Inheritance diagram for edge< C, V, POINT >:
SHAPE_OFV

List of all members.

Public Types

Public Member Functions


Detailed Description

template<class C, class V = default_env, class POINT = point<C,V>>
struct mmx::shape::edge< C, V, POINT >

Definition at line 35 of file edge.hpp.


Member Typedef Documentation

typedef POINT Point

Definition at line 40 of file edge.hpp.


Constructor & Destructor Documentation

edge ( void  ) [inline]

Definition at line 42 of file edge.hpp.

: Shape() {}
edge ( Point source,
Point destination 
) [inline]

Definition at line 43 of file edge.hpp.

References edge< C, V, POINT >::destination(), and edge< C, V, POINT >::source().

                                            : Shape() {
    this->m_source = source ;
    this->m_destination = destination ;
  }

Member Function Documentation

Point* destination ( void  ) [inline]
void reverse ( ) [inline]

Definition at line 50 of file edge.hpp.

    { Point *t=m_source; m_source=m_destination; m_destination=t; }
typedef SHAPE_OF ( )
Point* source ( void  ) [inline]

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