94#if defined(__cplusplus)
95 A_INLINE
a_real lim()
const {
return max; }
96 A_INLINE
void set_lim(
a_real max_) { max = max_; }
97 A_INLINE
a_point3 const &org()
const {
return orig; }
100 a_line3_set_org(
this, x, y, z);
102 A_INLINE
a_vector3 const &dir()
const {
return dir_; }
105 return a_line3_set_dir(
this, x, y, z);
107 A_INLINE
void tgt(
a_point3 &res)
const { a_line3_tgt(
this, &res); }
110 return a_line3_set_tgt(
this, x, y, z);
114 return a_line3_setv(
this, &p, &v);
118 return a_line3_set(
this, &p, &q);
122 a_line3_eval(
this, w, &res);
126 return a_line3_parm(
this, &rhs);
130 return a_line3_proj(
this, &rhs, &res);
134 return a_line3_limparm(
this, min, max_, &rhs);
138 return a_line3_limproj(
this, min, max_, &rhs, &res);
142 return a_line3_dist(
this, &rhs);
146 return a_line3_dist2(
this, &rhs);
150 return a_line3_limdist(
this, min, max_, &rhs, &w, &p);
154 return a_line3_limdist2(
this, min, max_, &rhs, &w, &p);
159 return a_line3_segdist(
this, &rhs, min1, max1, min2, max2, &w1, &w2, &p1, &p2);
164 return a_line3_segdist2(
this, &rhs, min1, max1, min2, max2, &w1, &w2, &p1, &p2);
168 return a_line3_int0(
this, &rhs, min, max_, &w);
173 return a_line3_int1(
this, &rhs, min1, max1, min2, max2, &w1, &w2);
177 a_line3_rot(
this, &rhs, angle, &res);