Lines Matching defs:axis

279 Geom::Point persp3d_get_PL_dir_from_pt (Persp3D *persp, Geom::Point const &pt, Proj::Axis axis) {
280 if (persp3d_VP_is_finite(persp->perspective_impl, axis)) {
281 return persp3d_get_finite_dir(persp, pt, axis);
283 return persp3d_get_infinite_dir(persp, axis);
288 persp3d_get_finite_dir (Persp3D *persp, Geom::Point const &pt, Proj::Axis axis) {
289 Box3D::PerspectiveLine pl(pt, axis, persp);
294 persp3d_get_infinite_dir (Persp3D *persp, Proj::Axis axis) {
295 Proj::Pt2 vp(persp3d_get_VP(persp, axis));
304 persp3d_get_infinite_angle (Persp3D *persp, Proj::Axis axis) {
305 return persp->perspective_impl->tmat.get_infinite_angle(axis);
309 persp3d_VP_is_finite (Persp3DImpl *persp_impl, Proj::Axis axis) {
310 return persp_impl->tmat.has_finite_image(axis);
314 persp3d_toggle_VP (Persp3D *persp, Proj::Axis axis, bool set_undo) {
315 persp->perspective_impl->tmat.toggle_finite(axis);
327 /* toggle VPs for the same axis in all perspectives of a given list */
329 persp3d_toggle_VPs (std::list<Persp3D *> p, Proj::Axis axis) {
331 persp3d_toggle_VP((*i), axis, false);
338 persp3d_set_VP_state (Persp3D *persp, Proj::Axis axis, Proj::VPState state) {
339 if (persp3d_VP_is_finite(persp->perspective_impl, axis) != (state == Proj::VP_FINITE)) {
340 persp3d_toggle_VP(persp, axis);
345 persp3d_rotate_VP (Persp3D *persp, Proj::Axis axis, double angle, bool alt_pressed) { // angle is in degrees
347 if (persp->perspective_impl->tmat.has_finite_image(axis)) {
351 Proj::Pt2 v_dir_proj (persp->perspective_impl->tmat.column(axis));
355 persp->perspective_impl->tmat.set_infinite_direction (axis, a);