Lines Matching defs:axis
16 #include "axis-manip.h"
25 Pt2 column (Proj::Axis axis) const;
28 void set_image_pt (Proj::Axis axis, Proj::Pt2 const &pt);
29 void toggle_finite (Proj::Axis axis);
30 double get_infinite_angle (Proj::Axis axis) {
31 if (has_finite_image(axis)) {
34 Pt2 vp(column(axis));
37 void set_infinite_direction (Proj::Axis axis, double angle) { // angle is in degrees
38 if (tmat[2][axis] != 0) return; // don't set directions for finite VPs
41 Geom::Point pt(tmat[0][axis], tmat[1][axis]);
43 set_image_pt(axis, Proj::Pt2(cos (a) * rad, sin (a) * rad, 0.0));
45 inline bool has_finite_image (Proj::Axis axis) { return (tmat[2][axis] != 0.0); }
47 char * pt_to_str (Proj::Axis axis);
59 void normalize_column (Proj::Axis axis);
60 inline void set_column (Proj::Axis axis, Proj::Pt2 pt) {
61 tmat[0][axis] = pt[0];
62 tmat[1][axis] = pt[1];
63 tmat[2][axis] = pt[2];