20 #include "a_segment.h"
49 std::deque<a_point *>&
x() {
return x_;}
53 virtual a_point
dx_axis(
double a)
const;
55 virtual a_point
dy_axis(
double a)
const;
57 virtual a_point
dz_axis(
double a)
const;
81 double dist(
const a_point &,
int & ref)
const;
82 double dist2(
const a_point &,
int & ref,
double & m)
const;
83 double dist_last(
const a_point &,
int & ref)
const;
84 double dist(
const a_curve &,
int & ref1,
int & ref2)
const;
86 double dist2(
const a_curve &,
int & ref1,
int & ref2,
double& m1,
double& m2)
const;
87 a_segment
shortest(
const a_curve & fn,
int & ref1,
int & ref2,
double& m1,
double& m2)
const;
101 std::deque<a_point *>
x_;
sampled parametric function class (interface)
a_curve & construct_y_axis()
double dist_last(const a_point &, int &ref) const
void addpoint(a_point *pt)
double dist2(const a_point &, int &ref, double &m) const
a_curve & construct_z_axis()
virtual a_point dx_axis(double a) const
std::deque< a_point * > & x()
virtual a_point operator()(double a) const =0
void set_horiz(const a_point &p)
friend std::istream & operator>>(std::istream &i, a_curve &m)
virtual a_point dz_axis(double a) const
virtual a_point dy_axis(double a) const
double dist(const a_point &, int &ref) const
a_point * operator[](int i) const
a_segment shortest(const a_curve &fn, int &ref1, int &ref2, double &m1, double &m2) const
friend std::ostream & operator<<(std::ostream &o, const a_curve &m)
a_curve & place3D(a_point &origin, a_point &x_axis, a_point &y_axis)
a_point get_horiz() const
a_curve & construct_x_axis()
a_curve & construct_axis()
bool is_closed() const
!!!!!!
a_curve & translate(const a_point &p)
std::deque< a_point * > x_