Classes | Macros
vgl_fit_oriented_box_2d.h File Reference

Fit an oriented box to a set of 2d points. More...

#include <iostream>
#include <map>
#include <utility>
#include <vector>
#include <vgl/vgl_line_segment_2d.h>
#include <vgl/vgl_oriented_box_2d.h>
#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_polygon.h>
#include <vgl/vgl_tolerance.h>

Go to the source code of this file.

Classes

class  vgl_fit_oriented_box_2d< T >
 

Macros

#define default_dtheta   0.0174524
 
#define VGL_FIT_ORIENTED_BOX_2D_INSTANTIATE(T)   extern "please include vgl/algo/vgl_fit_oriented_box_2d.hxx first"
 

Detailed Description

Fit an oriented box to a set of 2d points.

Author
J.L. Mundy
Date
November 12, 2017

a brute force algorithm: try all angles with granularity dtheta return obox with minimum area

Definition in file vgl_fit_oriented_box_2d.h.

Macro Definition Documentation

◆ default_dtheta

#define default_dtheta   0.0174524

Definition at line 21 of file vgl_fit_oriented_box_2d.h.

◆ VGL_FIT_ORIENTED_BOX_2D_INSTANTIATE

#define VGL_FIT_ORIENTED_BOX_2D_INSTANTIATE (   T)    extern "please include vgl/algo/vgl_fit_oriented_box_2d.hxx first"

Definition at line 58 of file vgl_fit_oriented_box_2d.h.