ivutils
Loading...
Searching...
No Matches
ArrayContour< N, num > Class Template Reference

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)
 

Detailed Description

template<int N, int num>
class ArrayContour< N, num >

Contour based on Vector_Nt array.

Constructor & Destructor Documentation

◆ ArrayContour()

template<int N, int num>
ArrayContour< N, num >::ArrayContour ( const vector_t *  beg = NULL,
const vector_t *  end = NULL 
)
inline

For initialization copies num arguments from beg or when end is reached, if beg is NULL, then data remains uninitialized.



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