Functions
vgl_convex.h File Reference

Functions such as convex hull, convex union, convexify polygon, ... More...

#include <vector>
#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_polygon.h>

Go to the source code of this file.

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...
 

Detailed Description

Functions such as convex hull, convex union, convexify polygon, ...

Author
Peter Vanroose
Date
14 November 2003

Definition in file vgl_convex.h.

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.