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,3,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.

00042 : Shape() {}

edge ( Point source,
Point destination 
) [inline]

Definition at line 43 of file edge.hpp.

00043                                             : Shape() {
00044     this->m_source = source ;
00045     this->m_destination = destination ;
00046   }


Member Function Documentation

Point* destination ( void   )  [inline]

Definition at line 49 of file edge.hpp.

Referenced by face< C, V, POINT >::not_on(), and use< tpl3d_def >::print_as_graphic().

00049 { return m_destination ; }

void reverse (  )  [inline]

Definition at line 50 of file edge.hpp.

00051     { Point *t=m_source; m_source=m_destination; m_destination=t; }

typedef SHAPE_OF (  ) 
Point* source ( void   )  [inline]

Definition at line 48 of file edge.hpp.

Referenced by face< C, V, POINT >::not_on(), and use< tpl3d_def >::print_as_graphic().

00048 { return m_source ; }


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

Generated on 6 Dec 2012 for shape by  doxygen 1.6.1