Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

BoundingBox Template Class Reference

Abstract base class specifying interface suitable for any bounding box. More...

#include <boundingbox.h>

Inheritance diagram for BoundingBox

Inheritance graph

[legend]
List of all members.

Public Methods

virtual bool inside (T x, T y) const = 0
 Whether the given point is enclosed by the box.

virtual BoundingBox<T>& scale (T xscale, T yscale) = 0
 Scale the size of the box in X and Y dimensions.

virtual BoundingBox<T>& rotate (T angle) = 0
 Rotate the box around the origin.

virtual BoundingBox<T>& translate (T xoffset, T yoffset) = 0
 Translate the origin of the box elsewhere.

virtual ostream& put (ostream &s) const
 Virtual interface to the operator<<, since << cannot be virtual. More...


Detailed Description

template<class T = double> template class BoundingBox

Abstract base class specifying interface suitable for any bounding box.

Definition at line 21 of file boundingbox.h.


Member Function Documentation

template<classT = double>
ostream & BoundingBox<T>::put ( ostream & s ) const [inline, virtual]
 

Virtual interface to the operator<<, since << cannot be virtual.

This implementation is just a stub, and should be overriden in derived classes.

Reimplemented in AARBoundingBox.

Definition at line 39 of file boundingbox.h.


The documentation for this class was generated from the following file:
Generated at Mon Aug 21 00:31:14 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000