contrib/gel/vifa/vifa_coll_lines_params.cxx
Go to the documentation of this file.
00001 // This is gel/vifa/vifa_coll_lines_params.cxx
00002 #include "vifa_coll_lines_params.h"
00003 //:
00004 // \file
00005 
00006 #include <vcl_iostream.h>
00007 
00008 vifa_coll_lines_params::
00009 vifa_coll_lines_params(float midpt_distance,
00010                        float angle_tolerance,
00011                        float discard_threshold,
00012                        float endpt_distance) :
00013   midpt_distance_(midpt_distance),
00014   angle_tolerance_(angle_tolerance),
00015   discard_threshold_(discard_threshold),
00016   endpt_distance_(endpt_distance)
00017 {
00018   // Do nothing
00019 }
00020 
00021 vifa_coll_lines_params::
00022 vifa_coll_lines_params(const vifa_coll_lines_params& old_params)
00023   : gevd_param_mixin(), vul_timestamp(), vbl_ref_count()
00024 {
00025   midpt_distance_ = old_params.midpt_distance_;
00026   angle_tolerance_ = old_params.angle_tolerance_;
00027   discard_threshold_ = old_params.discard_threshold_;
00028   endpt_distance_ = old_params.endpt_distance_;
00029 }
00030 
00031 void vifa_coll_lines_params::
00032 print_info(void)
00033 {
00034   vcl_cout << "vifa_coll_lines_params:\n"
00035            << "  midpoint distance = " << midpt_distance_ << vcl_endl
00036            << "  angle tolerance   = " << angle_tolerance_ << vcl_endl
00037            << "  discard threshold = " << discard_threshold_ << vcl_endl
00038            << "  endpoint distance = " << endpt_distance_ << vcl_endl;
00039 }