Macros | Functions
vgl_convex.hxx File Reference
#include <limits>
#include <cmath>
#include <list>
#include "vgl_convex.h"

Go to the source code of this file.

Macros

#define VGL_CONVEX_INSTANTIATE(T)   template vgl_polygon<T > vgl_convex_hull(const std::vector<vgl_point_2d<T > >&)
 

Functions

template<class T >
vgl_polygon< T > vgl_convex_hull (std::vector< vgl_point_2d< T > > const &points)
 Return a single-sheet polygon which is the smallest one containing all given points. More...
 

Macro Definition Documentation

◆ VGL_CONVEX_INSTANTIATE

#define VGL_CONVEX_INSTANTIATE (   T)    template vgl_polygon<T > vgl_convex_hull(const std::vector<vgl_point_2d<T > >&)

Definition at line 96 of file vgl_convex.hxx.

Function Documentation

◆ vgl_convex_hull()

template<class T >
vgl_polygon<T> vgl_convex_hull ( std::vector< vgl_point_2d< T > > const &  points)

Return a single-sheet polygon which is the smallest one containing all given points.

Definition at line 35 of file vgl_convex.hxx.