A 2d vertex specialization with extra capabilities. More...
#include <imesh_vertex.h>
| Public Member Functions | |
| imesh_vertex () | |
| Default Constructor. | |
| imesh_vertex (double x, double y) | |
| Constructor (from 2 doubles). | |
| imesh_vertex (const vgl_point_2d< double > &pt) | |
| Constructor (from vgl point). | |
| operator vgl_point_2d< double > () const | |
| convert to a vgl point. | |
| imesh_vertex (const vcl_vector< double > &coords) | |
| Constructor from a vector. | |
| unsigned int | dim () const | 
| return the dimension of the vertex. | |
| double | operator[] (unsigned int i) const | 
| Accessor. | |
| double & | operator[] (unsigned int i) | 
| Protected Attributes | |
| double | coords_ [2] | 
A 2d vertex specialization with extra capabilities.
Definition at line 49 of file imesh_vertex.h.
| imesh_vertex< 2 >::imesh_vertex | ( | ) |  [inline] | 
Default Constructor.
Definition at line 53 of file imesh_vertex.h.
| imesh_vertex< 2 >::imesh_vertex | ( | double | x, | 
| double | y | ||
| ) |  [inline] | 
Constructor (from 2 doubles).
Definition at line 56 of file imesh_vertex.h.
| imesh_vertex< 2 >::imesh_vertex | ( | const vgl_point_2d< double > & | pt | ) |  [inline] | 
Constructor (from vgl point).
Definition at line 63 of file imesh_vertex.h.
| imesh_vertex< 2 >::imesh_vertex | ( | const vcl_vector< double > & | coords | ) |  [inline] | 
Constructor from a vector.
Definition at line 76 of file imesh_vertex.h.
| unsigned int imesh_vertex< 2 >::dim | ( | ) | const  [inline] | 
return the dimension of the vertex.
Definition at line 80 of file imesh_vertex.h.
| imesh_vertex< 2 >::operator vgl_point_2d< double > | ( | ) | const  [inline] | 
convert to a vgl point.
Definition at line 70 of file imesh_vertex.h.
| double imesh_vertex< 2 >::operator[] | ( | unsigned int | i | ) | const  [inline] | 
Accessor.
Definition at line 83 of file imesh_vertex.h.
| double& imesh_vertex< 2 >::operator[] | ( | unsigned int | i | ) |  [inline] | 
Definition at line 84 of file imesh_vertex.h.
| double imesh_vertex< 2 >::coords_[2]  [protected] | 
Definition at line 87 of file imesh_vertex.h.
 1.7.5.1
 1.7.5.1