#include <vgl_fit_oriented_box_2d.h>
Public Member Functions | |
| vgl_fit_oriented_box_2d () | |
| default constructor. More... | |
| vgl_fit_oriented_box_2d (vgl_polygon< T > const &poly, double dtheta=default_dtheta) | |
| constructor with polygon. More... | |
| vgl_fit_oriented_box_2d (std::vector< vgl_point_2d< T > > pts, double dtheta=default_dtheta) | |
| constructor with points. More... | |
| vgl_oriented_box_2d< T > | fitted_box () |
| brute force search. More... | |
| vgl_oriented_box_2d< T > | fitted_box (double theta_rad) |
| fit box with specified oriention. More... | |
Private Member Functions | |
| void | fit_obox (T theta_rad=T(0)) |
Private Attributes | |
| bool | fixed_theta_ |
| bool | fit_valid_ |
| double | dtheta_ |
| std::vector< vgl_point_2d< T > > | pts_ |
| vgl_oriented_box_2d< T > | obox_ |
Definition at line 23 of file vgl_fit_oriented_box_2d.h.
|
inline |
default constructor.
Definition at line 26 of file vgl_fit_oriented_box_2d.h.
| vgl_fit_oriented_box_2d< T >::vgl_fit_oriented_box_2d | ( | vgl_polygon< T > const & | poly, |
| double | dtheta = default_dtheta |
||
| ) |
constructor with polygon.
Definition at line 8 of file vgl_fit_oriented_box_2d.hxx.
|
inline |
constructor with points.
Definition at line 32 of file vgl_fit_oriented_box_2d.h.
|
private |
Definition at line 17 of file vgl_fit_oriented_box_2d.hxx.
| vgl_oriented_box_2d< T > vgl_fit_oriented_box_2d< T >::fitted_box | ( | ) |
brute force search.
Definition at line 76 of file vgl_fit_oriented_box_2d.hxx.
|
inline |
fit box with specified oriention.
theta is defined ccw with respect to the x-axis
Definition at line 40 of file vgl_fit_oriented_box_2d.h.
|
private |
Definition at line 53 of file vgl_fit_oriented_box_2d.h.
|
private |
Definition at line 52 of file vgl_fit_oriented_box_2d.h.
|
private |
Definition at line 50 of file vgl_fit_oriented_box_2d.h.
|
private |
Definition at line 55 of file vgl_fit_oriented_box_2d.h.
|
private |
Definition at line 54 of file vgl_fit_oriented_box_2d.h.
1.8.15