Points&Forces (survey)
Software tools facilitating the task of surveying architecture
|
line shape More...
#include <a_shape_line.h>
Public Member Functions | |
a_shape_line () | |
const std::string | classname () const |
a_point | closest_point (const a_point p) const |
double | dist_point (const a_point p) const |
void | p2pts (const a_point p1, const a_point p2) |
a_point | dir () const |
a_point | orig () const |
void | dir (const a_point pt) |
void | orig (const a_point pt) |
void | random_hint (const std::vector< a_point > &pts) |
void | fit_cloud (std::vector< a_point > &pts, short nl=1) |
void | export_line (const std::vector< a_point > &pts) const |
Public Member Functions inherited from a_shape | |
a_shape (int n_parameters) | |
virtual | ~a_shape () |
void | P (const double P) |
double | P () const |
unsigned int | npara () const |
double | dist_cloud (const std::vector< a_point > &pts) |
double | average_dist_cloud (const std::vector< a_point > &pts) |
double | rms_dist_cloud (const std::vector< a_point > &pts) |
int | threshold_cloud (const std::vector< a_point > &pts, std::vector< a_point > &pts2) |
int | best_fitting_cloud (const std::vector< a_point > &pts, std::vector< a_point > &pts2) |
void | fit_cloud (const std::vector< a_point > &pts, vnl_least_squares_function &fn) |
vnl_vector< double > | getparameters () const |
void | para (const int i, const double val) |
void | export_inliers (const std::vector< a_point > &pts) |
void | export_outliers (const std::vector< a_point > &pts) |
void | verbose (bool v) |
virtual void | init_dist () |
Static Public Member Functions | |
static const std::string | help () |
Static Public Member Functions inherited from a_shape | |
static const std::string | help () |
Additional Inherited Members | |
Protected Attributes inherited from a_shape | |
double | P_ |
vnl_vector< double > | para_ |
bool | verbose_ |
line shape
Definition at line 25 of file a_shape_line.h.
|
inline |
Definition at line 28 of file a_shape_line.h.
|
inlinevirtual |
Reimplemented from a_shape.
Definition at line 29 of file a_shape_line.h.
|
virtual |
Implements a_shape.
Definition at line 70 of file a_shape_line.cxx.
|
inline |
|
inline |
Definition at line 36 of file a_shape_line.h.
|
virtual |
Implements a_shape.
Definition at line 77 of file a_shape_line.cxx.
void a_shape_line::export_line | ( | const std::vector< a_point > & | pts | ) | const |
Definition at line 112 of file a_shape_line.cxx.
|
virtual |
Implements a_shape.
Definition at line 99 of file a_shape_line.cxx.
|
static |
Definition at line 49 of file a_shape_line.cxx.
|
inline |
|
inline |
Definition at line 37 of file a_shape_line.h.
void a_shape_line::p2pts | ( | const a_point | p1, |
const a_point | p2 | ||
) |
Definition at line 61 of file a_shape_line.cxx.
|
virtual |
Implements a_shape.
Definition at line 84 of file a_shape_line.cxx.