Public Member Functions | Private Member Functions | Private Attributes | List of all members
vgl_convex_hull_2d< T > Class Template Reference

#include <vgl_algo_fwd.h>

Public Member Functions

 vgl_convex_hull_2d (std::vector< vgl_point_2d< T > > const &points)
 
 ~vgl_convex_hull_2d ()=default
 
vgl_polygon< T > hull ()
 
vgl_oriented_box_2d< T > min_area_enclosing_rectangle ()
 the oriented box enclosing the hull with minimum area. More...
 

Private Member Functions

 vgl_convex_hull_2d ()=delete
 
void compute_hull ()
 

Private Attributes

bool hull_valid_
 
std::vector< vgl_point_2d< T > > points_
 
vgl_polygon< T > hull_
 

Detailed Description

template<class T>
class vgl_convex_hull_2d< T >

Definition at line 16 of file vgl_algo_fwd.h.

Constructor & Destructor Documentation

◆ vgl_convex_hull_2d() [1/2]

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

Definition at line 100 of file vgl_convex_hull_2d.hxx.

◆ ~vgl_convex_hull_2d()

template<class T >
vgl_convex_hull_2d< T >::~vgl_convex_hull_2d ( )
default

◆ vgl_convex_hull_2d() [2/2]

template<class T >
vgl_convex_hull_2d< T >::vgl_convex_hull_2d ( )
privatedelete

Member Function Documentation

◆ compute_hull()

template<class T >
void vgl_convex_hull_2d< T >::compute_hull ( )
private

Definition at line 107 of file vgl_convex_hull_2d.hxx.

◆ hull()

template<class T >
vgl_polygon< T > vgl_convex_hull_2d< T >::hull ( )

Definition at line 150 of file vgl_convex_hull_2d.hxx.

◆ min_area_enclosing_rectangle()

template<class T >
vgl_oriented_box_2d< T > vgl_convex_hull_2d< T >::min_area_enclosing_rectangle ( )

the oriented box enclosing the hull with minimum area.

Definition at line 157 of file vgl_convex_hull_2d.hxx.

Member Data Documentation

◆ hull_

template<class T >
vgl_polygon<T> vgl_convex_hull_2d< T >::hull_
private

Definition at line 35 of file vgl_convex_hull_2d.h.

◆ hull_valid_

template<class T >
bool vgl_convex_hull_2d< T >::hull_valid_
private

Definition at line 32 of file vgl_convex_hull_2d.h.

◆ points_

template<class T >
std::vector<vgl_point_2d<T> > vgl_convex_hull_2d< T >::points_
private

Definition at line 34 of file vgl_convex_hull_2d.h.


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