Public Member Functions | Protected Attributes | Private Attributes
vifa_coll_lines_params Class Reference

Container holding parameters for collinearizing lines. More...

#include <vifa_coll_lines_params.h>

Inheritance diagram for vifa_coll_lines_params:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Container holding parameters for collinearizing lines.

Definition at line 26 of file vifa_coll_lines_params.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 31 of file vifa_coll_lines_params.h.

Definition at line 32 of file vifa_coll_lines_params.h.

Reimplemented in vifa_coll_lines.

Definition at line 33 of file vifa_coll_lines_params.h.

Definition at line 30 of file vifa_coll_lines_params.h.


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