topology::point3d< Typ > Class Template Reference

List of all members.

Detailed Description

template<class Typ>
class topology::point3d< Typ >

Point class that defines the structure of a point.

Definition at line 20 of file point3d.h.

Public Types

typedef Typ coeff_t

Public Member Functions

 point3d ()
 point3d (int i)
 point3d (const Typ num1, const Typ num2, const Typ num3)
 point3d (const point3d &point3D)
point3dpoint3d::operator= (const point3d &point3D)
Typ operator[] (unsigned i) const
Typ & operator[] (unsigned i)

Public Attributes

Typ x
Typ y
Typ z


Member Typedef Documentation

template<class Typ>
typedef Typ topology::point3d< Typ >::coeff_t

The type of the coefficients.

Definition at line 26 of file point3d.h.


Constructor & Destructor Documentation

template<class Typ>
topology::point3d< Typ >::point3d (  ) 

Default constructor.

Definition at line 33 of file point3d.h.

template<class Typ>
topology::point3d< Typ >::point3d ( const Typ  num1,
const Typ  num2,
const Typ  num3 
)

Regular constructor.

Definition at line 38 of file point3d.h.

template<class Typ>
topology::point3d< Typ >::point3d ( const point3d< Typ > &  point3D  ) 

Copy constructor.

Definition at line 42 of file point3d.h.

References topology::point3d< Typ >::x, topology::point3d< Typ >::y, and topology::point3d< Typ >::z.


Member Function Documentation

template<class Typ>
point3d& topology::point3d< Typ >::point3d::operator= ( const point3d< Typ > &  point3D  ) 

Affectation operator.

Definition at line 50 of file point3d.h.

References topology::point3d< Typ >::x, topology::point3d< Typ >::y, and topology::point3d< Typ >::z.

template<class Typ>
Typ topology::point3d< Typ >::operator[] ( unsigned  i  )  const

The operator[]

Definition at line 60 of file point3d.h.

template<class Typ>
Typ& topology::point3d< Typ >::operator[] ( unsigned  i  ) 

The operator[]

Definition at line 69 of file point3d.h.


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

SYNAPS DOCUMENTATION
logo