Lines Matching refs:Vec2
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() in Box()
409 inline Box<Vec2<T> >::Box (const Vec2<T> &point) in Box()
417 inline Box<Vec2<T> >::Box (const Vec2<T> &minT, const Vec2<T> &maxT) in Box()
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() in makeEmpty()
443 min = Vec2<T>(Vec2<T>::baseTypeMax()); in makeEmpty()
444 max = Vec2<T>(Vec2<T>::baseTypeMin()); in makeEmpty()
448 inline void Box<Vec2<T> >::makeInfinite() in makeInfinite()
450 min = Vec2<T>(Vec2<T>::baseTypeMin()); in makeInfinite()
451 max = Vec2<T>(Vec2<T>::baseTypeMax()); in makeInfinite()
457 Box<Vec2<T> >::extendBy (const Vec2<T> &point) in extendBy()
475 Box<Vec2<T> >::extendBy (const Box<Vec2<T> > &box) in extendBy()
493 Box<Vec2<T> >::intersects (const Vec2<T> &point) const in intersects()
505 Box<Vec2<T> >::intersects (const Box<Vec2<T> > &box) const in intersects()
516 inline Vec2<T>
517 Box<Vec2<T> >::size() const in size()
520 return Vec2<T> (0); in size()
527 inline Vec2<T>
528 Box<Vec2<T> >::center() const in center()
536 Box<Vec2<T> >::isEmpty() const in isEmpty()
547 Box<Vec2<T> > ::isInfinite() const in isInfinite()
559 Box<Vec2<T> >::hasVolume() const in hasVolume()
571 Box<Vec2<T> >::majorAxis() const in majorAxis()
574 Vec2<T> s = size(); in majorAxis()