Lines Matching refs:orig_corner0

156                 box->orig_corner0 = Proj::Pt3(value);
157 box->save_corner0 = box->orig_corner0;
235 gchar *coordstr0 = box->orig_corner0.coord_string();
242 box->orig_corner0.normalize();
245 box->save_corner0 = box->orig_corner0;
308 return Proj::Pt3 ((id & Box3D::X) ? box->orig_corner7[Proj::X] : box->orig_corner0[Proj::X],
309 (id & Box3D::Y) ? box->orig_corner7[Proj::Y] : box->orig_corner0[Proj::Y],
310 (id & Box3D::Z) ? box->orig_corner7[Proj::Z] : box->orig_corner0[Proj::Z],
330 box->orig_corner0.normalize();
332 return Proj::Pt3 ((box->orig_corner0[Proj::X] + box->orig_corner7[Proj::X]) / 2,
333 (box->orig_corner0[Proj::Y] + box->orig_corner7[Proj::Y]) / 2,
334 (box->orig_corner0[Proj::Z] + box->orig_corner7[Proj::Z]) / 2,
453 box->orig_corner0.normalize();
459 Proj::Pt3 pt_proj (persp_impl->tmat.preimage (new_pos, (id < 4) ? box->orig_corner0[Proj::Z] :
467 box->orig_corner0 = Proj::Pt3 ((id & Box3D::X) ? box->save_corner0[Proj::X] : pt_proj[Proj::X],
491 box->orig_corner0 = Proj::Pt3 (corner0_move_x ? pt_proj[Proj::X] : box->orig_corner0[Proj::X],
492 corner0_move_y ? pt_proj[Proj::Y] : box->orig_corner0[Proj::Y],
493 (id & Box3D::Z) ? box->orig_corner0[Proj::Z] : pt_proj[Proj::Z],
506 box->orig_corner0.normalize();
511 double coord = (box->orig_corner0[Proj::Z] + box->orig_corner7[Proj::Z]) / 2;
512 double radx = (box->orig_corner7[Proj::X] - box->orig_corner0[Proj::X]) / 2;
513 double rady = (box->orig_corner7[Proj::Y] - box->orig_corner0[Proj::Y]) / 2;
523 box->orig_corner0 = Proj::Pt3 ((movement & Box3D::X) ? pt_proj[Proj::X] - radx : box->orig_corner0[Proj::X],
524 (movement & Box3D::Y) ? pt_proj[Proj::Y] - rady : box->orig_corner0[Proj::Y],
525 box->orig_corner0[Proj::Z],
532 double coord = (box->orig_corner0[Proj::X] + box->orig_corner7[Proj::X]) / 2;
533 double radz = (box->orig_corner7[Proj::Z] - box->orig_corner0[Proj::Z]) / 2;
541 box->orig_corner0 = Proj::Pt3 (box->orig_corner0[Proj::X],
542 box->orig_corner0[Proj::Y],
562 //box->orig_corner0.normalize();
564 double coord = (box->orig_corner0[axis] > box->orig_corner7[axis]) ?
565 box->orig_corner0[axis] :
572 c1 = Proj::Pt3 (coord, box->orig_corner0[Proj::Y], box->orig_corner0[Proj::Z], 1.0);
573 c2 = Proj::Pt3 (coord, box->orig_corner7[Proj::Y], box->orig_corner0[Proj::Z], 1.0);
575 c4 = Proj::Pt3 (coord, box->orig_corner0[Proj::Y], box->orig_corner7[Proj::Z], 1.0);
578 c1 = Proj::Pt3 (box->orig_corner0[Proj::X], coord, box->orig_corner0[Proj::Z], 1.0);
579 c2 = Proj::Pt3 (box->orig_corner7[Proj::X], coord, box->orig_corner0[Proj::Z], 1.0);
581 c4 = Proj::Pt3 (box->orig_corner0[Proj::X], coord, box->orig_corner7[Proj::Z], 1.0);
585 c2 = Proj::Pt3 (box->orig_corner7[Proj::X], box->orig_corner0[Proj::Y], coord, 1.0);
586 c3 = Proj::Pt3 (box->orig_corner0[Proj::X], box->orig_corner0[Proj::Y], coord, 1.0);
587 c4 = Proj::Pt3 (box->orig_corner0[Proj::X], box->orig_corner7[Proj::Y], coord, 1.0);
881 box->orig_corner0.normalize();
884 if (box->orig_corner0[Proj::X] < box->orig_corner7[Proj::X])
886 if (box->orig_corner0[Proj::Y] < box->orig_corner7[Proj::Y])
888 if (box->orig_corner0[Proj::Z] > box->orig_corner7[Proj::Z]) // FIXME: Remove the need to distinguish signs among the cases
1162 box->orig_corner0.normalize();
1164 if ((box->orig_corner0[axis] < box->orig_corner7[axis]) != smaller) {
1165 double tmp = box->orig_corner0[axis];
1166 box->orig_corner0[axis] = box->orig_corner7[axis];
1182 box->orig_corner0.normalize();
1185 if ((box->orig_corner0[axis] < box->orig_corner7[axis]) != smaller) {
1194 box->orig_corner0.normalize();
1199 double tmp = box->orig_corner0[i];
1200 box->orig_corner0[i] = box->orig_corner7[i];
1241 box->orig_corner0.normalize();
1243 double z0 = box->orig_corner0[Proj::Z];
1248 box->orig_corner0 = new_persp->perspective_impl->tmat.preimage(corner0_screen, z0, Proj::Z);