Container holding parameters for collinearizing lines. More...
#include <vifa_coll_lines_params.h>
Public Member Functions | |
float | midpt_distance () const |
Distance of midpoint of qualified edge segment to projected line. | |
float | angle_tolerance () const |
Maximum angular difference (in degrees). | |
float | discard_threshold () const |
Minimum of supported to spanning length. | |
float | endpt_distance () const |
Endpoints within this distance are accepted no matter what the angular difference is. | |
vifa_coll_lines_params (float midpt_distance=1.0f, float angle_tolerance=5.0f, float discard_threshold=0.3f, float endpt_distance=3.0f) | |
Default constructor. | |
vifa_coll_lines_params (const vifa_coll_lines_params &old_params) | |
Copy constructor. | |
void | print_info (void) |
Output contents. | |
virtual bool | SanityCheck () |
bool | Valid () const |
const char * | GetErrorMsg () const |
void | SetErrorMsg (const char *msg) |
void | touch () |
unsigned long | get_time_stamp () const |
bool | older (vul_timestamp const &t) const |
bool | older (vul_timestamp const *t) const |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Protected Attributes | |
unsigned long | timestamp_ |
Private Attributes | |
float | midpt_distance_ |
float | angle_tolerance_ |
float | discard_threshold_ |
float | endpt_distance_ |
Container holding parameters for collinearizing lines.
Definition at line 26 of file vifa_coll_lines_params.h.
vifa_coll_lines_params::vifa_coll_lines_params | ( | float | midpt_distance = 1.0f , |
float | angle_tolerance = 5.0f , |
||
float | discard_threshold = 0.3f , |
||
float | endpt_distance = 3.0f |
||
) |
Default constructor.
Definition at line 9 of file vifa_coll_lines_params.cxx.
vifa_coll_lines_params::vifa_coll_lines_params | ( | const vifa_coll_lines_params & | old_params | ) |
Copy constructor.
Definition at line 22 of file vifa_coll_lines_params.cxx.
float vifa_coll_lines_params::angle_tolerance | ( | ) | const [inline] |
Maximum angular difference (in degrees).
Definition at line 40 of file vifa_coll_lines_params.h.
float vifa_coll_lines_params::discard_threshold | ( | ) | const [inline] |
Minimum of supported to spanning length.
Definition at line 43 of file vifa_coll_lines_params.h.
float vifa_coll_lines_params::endpt_distance | ( | ) | const [inline] |
Endpoints within this distance are accepted no matter what the angular difference is.
Definition at line 46 of file vifa_coll_lines_params.h.
float vifa_coll_lines_params::midpt_distance | ( | ) | const [inline] |
Distance of midpoint of qualified edge segment to projected line.
Definition at line 37 of file vifa_coll_lines_params.h.
void vifa_coll_lines_params::print_info | ( | void | ) |
Output contents.
Definition at line 32 of file vifa_coll_lines_params.cxx.
float vifa_coll_lines_params::angle_tolerance_ [private] |
Definition at line 31 of file vifa_coll_lines_params.h.
float vifa_coll_lines_params::discard_threshold_ [private] |
Definition at line 32 of file vifa_coll_lines_params.h.
float vifa_coll_lines_params::endpt_distance_ [private] |
Reimplemented in vifa_coll_lines.
Definition at line 33 of file vifa_coll_lines_params.h.
float vifa_coll_lines_params::midpt_distance_ [private] |
Definition at line 30 of file vifa_coll_lines_params.h.