ivutils
|
Contour based on Vector_Nt array. More...
#include <contour.h>
Inherits Contour_N< point_it, vector_tt, store_t, edge_it, edge_t >.
Public Member Functions | |
ArrayContour (const vector_t *beg=NULL, const vector_t *end=NULL) | |
For initialization copies num arguments from beg or when end is reached, if beg is NULL, then data remains uninitialized. | |
vector_t | GetPoint (int ind) const |
Gets a point given by index, no checks for index limits! | |
int | SetPoint (int i, const vector_t &p) |
Sets the point with given index, checks for index limits. | |
vector_t & | operator[] (int ind) |
Gets a point given by index, no checks for index limits! | |
const vector_t & | operator[] (int ind) const |
Gets a point given by index, no checks for index limits! | |
void | Reverse () |
Reverses the order of points of the contour (flips the normal) | |
|
inline |
For initialization copies num arguments from beg or when end is reached, if beg is NULL, then data remains uninitialized.