Points&Forces (survey)
Software tools facilitating the task of surveying architecture
|
a curve with linear interpolation More...
#include <a_curve_lin.h>
Public Member Functions | |
a_curve_lin (double da=1e-6) | |
a_curve_lin (const a_curve_lin &) | |
~a_curve_lin () | |
std::vector< double > & | a () |
const std::vector< double > & | a () const |
double | ltot () const |
a_point | operator() (double a) const |
a_point | dx_axis (double a) const |
a_point | dy_axis (double a) const |
a_point | dz_axis (double a) const |
a_point | tangent (double a) const |
a_point | curvature_centre () const |
a_point | curvature_centre (double a) const |
double | curvature (double a) const |
a_curve_lin & | extrapolate (double f1, double f2) |
a_curve_lin & | flatten (a_curve_lin &path) |
Public Member Functions inherited from a_curve | |
a_curve (double da=1e-6) | |
a_curve (const a_curve &) | |
virtual | ~a_curve () |
a_curve & | construct_axis () |
void | addpoint (a_point *pt) |
int | size () const |
a_point * | operator[] (int i) const |
std::deque< a_point * > & | x () |
void | invert () |
bool | is_closed () const |
!!!!!! More... | |
void | set_horiz (const a_point &p) |
a_point | get_horiz () const |
a_curve & | translate (const a_point &p) |
a_curve & | translate (double x, double y, double z) |
a_point | origin () const |
a_curve & | origin (a_point &p) |
a_curve & | origin (double x, double y, double z) |
a_point | centre () const |
a_curve & | flatten () |
a_curve & | flatten2D () |
a_curve & | place3D (a_point &origin, a_point &x_axis, a_point &y_axis) |
a_point | x_axis () const |
a_point | y_axis () const |
a_point | z_axis () const |
double | da () const |
void | da (double da) |
double | dist (const a_point &, int &ref) const |
double | dist2 (const a_point &, int &ref, double &m) const |
double | dist_last (const a_point &, int &ref) const |
double | dist (const a_curve &, int &ref1, int &ref2) const |
double | dist_last (const a_curve &, int &ref1, int &ref2) const |
double | dist2 (const a_curve &, int &ref1, int &ref2, double &m1, double &m2) const |
a_segment | shortest (const a_curve &fn, int &ref1, int &ref2, double &m1, double &m2) const |
Protected Member Functions | |
a_curve & | init () |
int | ref (double a) const |
Protected Member Functions inherited from a_curve | |
a_curve & | construct_x_axis () |
a_curve & | construct_y_axis () |
a_curve & | construct_z_axis () |
Protected Attributes | |
double | ltot_ |
std::vector< double > | a_ |
Protected Attributes inherited from a_curve | |
bool | initialised_ |
std::deque< a_point * > | x_ |
double | da_ |
int | n_pts_ |
a_point | x_axis_ |
a_point | y_axis_ |
a_point | z_axis_ |
int | orient_ |
a_point | horiz_ |
Friends | |
a_curve_lin | interpolate (const a_curve_lin &p1, const a_curve_lin &p2, double a) |
std::istream & | operator>> (std::istream &i, a_curve_lin &m) |
a curve with linear interpolation
Definition at line 27 of file a_curve_lin.h.
a_curve_lin::a_curve_lin | ( | double | da = 1e-6 | ) |
Definition at line 22 of file a_curve_lin.cxx.
a_curve_lin::a_curve_lin | ( | const a_curve_lin & | ifn | ) |
a_curve_lin::~a_curve_lin | ( | ) |
Definition at line 33 of file a_curve_lin.cxx.
|
inline |
|
inline |
Definition at line 35 of file a_curve_lin.h.
double a_curve_lin::curvature | ( | double | a | ) | const |
a_point a_curve_lin::curvature_centre | ( | ) | const |
Definition at line 204 of file a_curve_lin.cxx.
a_point a_curve_lin::curvature_centre | ( | double | a | ) | const |
|
virtual |
local axis: call in 3
Reimplemented from a_curve.
Definition at line 148 of file a_curve_lin.cxx.
|
virtual |
local axis: call in 2
Reimplemented from a_curve.
Definition at line 155 of file a_curve_lin.cxx.
|
virtual |
local axis (tangent) : call in 1
Reimplemented from a_curve.
Definition at line 169 of file a_curve_lin.cxx.
a_curve_lin & a_curve_lin::extrapolate | ( | double | f1, |
double | f2 | ||
) |
a_curve_lin & a_curve_lin::flatten | ( | a_curve_lin & | path | ) |
Definition at line 38 of file a_curve_lin.cxx.
|
protectedvirtual |
Reimplemented from a_curve.
Definition at line 100 of file a_curve_lin.cxx.
|
inline |
|
virtual |
interpolated value
Implements a_curve.
Definition at line 133 of file a_curve_lin.cxx.
|
protected |
Definition at line 123 of file a_curve_lin.cxx.
a_point a_curve_lin::tangent | ( | double | a | ) | const |
Definition at line 190 of file a_curve_lin.cxx.
|
friend |
Definition at line 314 of file a_curve_lin.cxx.
|
friend |
Definition at line 306 of file a_curve_lin.cxx.
|
protected |
Definition at line 57 of file a_curve_lin.h.
|
protected |
Definition at line 56 of file a_curve_lin.h.