Lines Matching refs:Vec2
335 // Partial class specializations for Imath::Vec2<T> and Imath::Vec3<T>
342 class Box<Vec2<T> >
350 Vec2<T> min;
351 Vec2<T> max;
358 Box (const Vec2<T> &point);
359 Box (const Vec2<T> &minT, const Vec2<T> &maxT);
365 bool operator == (const Box<Vec2<T> > &src) const;
366 bool operator != (const Box<Vec2<T> > &src) const;
373 void extendBy (const Vec2<T> &point);
374 void extendBy (const Box<Vec2<T> > &box);
381 Vec2<T> size() const;
382 Vec2<T> center() const;
383 bool intersects (const Vec2<T> &point) const;
384 bool intersects (const Box<Vec2<T> > &box) const;
402 inline Box<Vec2<T> >::Box()
409 inline Box<Vec2<T> >::Box (const Vec2<T> &point)
417 inline Box<Vec2<T> >::Box (const Vec2<T> &minT, const Vec2<T> &maxT)
426 Box<Vec2<T> >::operator == (const Box<Vec2<T> > &src) const
434 Box<Vec2<T> >::operator != (const Box<Vec2<T> > &src) const
441 inline void Box<Vec2<T> >::makeEmpty()
443 min = Vec2<T>(Vec2<T>::baseTypeMax());
444 max = Vec2<T>(Vec2<T>::baseTypeMin());
448 inline void Box<Vec2<T> >::makeInfinite()
450 min = Vec2<T>(Vec2<T>::baseTypeMin());
451 max = Vec2<T>(Vec2<T>::baseTypeMax());
457 Box<Vec2<T> >::extendBy (const Vec2<T> &point)
475 Box<Vec2<T> >::extendBy (const Box<Vec2<T> > &box)
493 Box<Vec2<T> >::intersects (const Vec2<T> &point) const
505 Box<Vec2<T> >::intersects (const Box<Vec2<T> > &box) const
516 inline Vec2<T>
517 Box<Vec2<T> >::size() const
520 return Vec2<T> (0);
527 inline Vec2<T>
528 Box<Vec2<T> >::center() const
536 Box<Vec2<T> >::isEmpty() const
547 Box<Vec2<T> > ::isInfinite() const
559 Box<Vec2<T> >::hasVolume() const
571 Box<Vec2<T> >::majorAxis() const
574 Vec2<T> s = size();