Home | History | Annotate | Download | only in Imath

Lines Matching refs:Vec3

53 //	Vec3<T> closestPointOnBox(const Vec3<T>&, const Box<Vec3<T>>& )
55 // Vec3<T> closestPointInBox(const Vec3<T>&, const Box<Vec3<T>>& )
57 // Box< Vec3<S> > transform(const Box<Vec3<S>>&, const Matrix44<T>&)
58 // Box< Vec3<S> > affineTransform(const Box<Vec3<S>>&, const Matrix44<T>&)
60 // void transform(const Box<Vec3<S>>&, const Matrix44<T>&, Box<V3ec3<S>>&)
61 // void affineTransform(const Box<Vec3<S>>&,
66 // const Box< Vec3<T> > &box,
67 // Vec3<T> &enterPoint,
68 // Vec3<T> &exitPoint)
70 // bool intersects(const Box<Vec3<T>> &box,
72 // Vec3<T> intersectionPoint)
74 // bool intersects(const Box<Vec3<T>> &box, const Line3<T> &ray)
120 Vec3<T>
121 closestPointOnBox (const Vec3<T> &p, const Box< Vec3<T> > &box)
133 Vec3<T> q = closestPointInBox (p, box);
137 Vec3<T> d1 = p - box.min;
138 Vec3<T> d2 = box.max - p;
140 Vec3<T> d ((d1.x < d2.x)? d1.x: d2.x,
163 Box< Vec3<S> >
164 transform (const Box< Vec3<S> > &box, const Matrix44<T> &m)
190 Box< Vec3<S> > newBox;
225 Vec3<S> points[8];
236 Box< Vec3<S> > newBox;
246 transform (const Box< Vec3<S> > &box,
248 Box< Vec3<S> > &result)
309 Vec3<S> points[8];
326 Box< Vec3<S> >
327 affineTransform (const Box< Vec3<S> > &box, const Matrix44<T> &m)
347 Box< Vec3<S> > newBox;
378 affineTransform (const Box< Vec3<S> > &box,
380 Box<Vec3<S> > &result)
438 const Box<Vec3<T> > &b,
439 Vec3<T> &entry,
440 Vec3<T> &exit)
727 intersects (const Box< Vec3<T> > &b, const Line3<T> &r, Vec3<T> &ip)
1006 intersects (const Box< Vec3<T> > &box, const Line3<T> &ray)
1008 Vec3<T> ignored;