Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Box.h File Reference


Detailed Description

Routines for handling vectors of intervals.

Author:
John Hart

Terry Fleury

Date:
3 July 2001

Definition in file Box.h.

#include "Interval.h"
#include "RandomStream.h"

Include dependency graph for Box.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  Box
 An interval vector class. More...

class  Box3d
 This is the 3D / double specific version of a Box. More...

class  Box4d
 This is the 4D / double specific version of a Box. More...


Functions

template<class Float> Box< Float > operator * (const Box< Float > &x, const Interval< Float > &y)
 Multiply a box and an interval.

template<class Float> Box< Float > operator * (const Interval< Float > &x, const Box< Float > &y)
 Multiply an interval and a box.

template<class Float> Box< Float > operator/ (const Box< Float > &x, const Interval< Float > &y)
 Divide a box and an interval.

template<class Float> Box< Float > operator+ (const Box< Float > &x, const Interval< Float > &y)
 Add a box and an interval.

template<class Float> Box< Float > operator+ (const Interval< Float > &x, const Box< Float > &y)
 Add an interval and a box.

template<class Float> Interval< Float > dot (const Box< Float > &x, const Box< Float > &y)
 'Dot' product of two boxes - loose definition of dot product here.

template<class Float> std::ostream & operator<< (std::ostream &os, const Box< Float > &x)
 Standard output stream to print out the coords of the box.


Function Documentation

template<class Float>
Interval<Float> dot const Box< Float > &  x,
const Box< Float > &  y
 

'Dot' product of two boxes - loose definition of dot product here.

Definition at line 103 of file Box.h.

Referenced by aabb_intersects_plane(), aabb_intersects_triangle(), DynamicMesh::add_ring(), SurfaceAdhesion::applyConstraint(), SilhouetteAdhesion::applyForce(), ParticleShader::applyTransformations(), SingularityAdhesion::cleanup(), Cone::Cone(), Cylinder::Cylinder(), TriMesh::exactDistanceToMesh(), SilhouetteFate::fiftyPercent(), Segment::grad(), Implicit::interpolate(), TriMesh::isOnSameSide(), Plane::Plane(), Segment::proc(), Plane::proc(), DynamicMesh::remove_ring(), Mover::solve(), and DynamicMesh::split().

template<class Float>
Box<Float> operator * const Interval< Float > &  x,
const Box< Float > &  y
 

Multiply an interval and a box.

Definition at line 71 of file Box.h.

template<class Float>
Box<Float> operator * const Box< Float > &  x,
const Interval< Float > &  y
 

Multiply a box and an interval.

Definition at line 63 of file Box.h.

template<class Float>
Box<Float> operator+ const Interval< Float > &  x,
const Box< Float > &  y
 

Add an interval and a box.

Definition at line 95 of file Box.h.

template<class Float>
Box<Float> operator+ const Box< Float > &  x,
const Interval< Float > &  y
 

Add a box and an interval.

Definition at line 87 of file Box.h.

template<class Float>
Box<Float> operator/ const Box< Float > &  x,
const Interval< Float > &  y
 

Divide a box and an interval.

Definition at line 79 of file Box.h.

template<class Float>
std::ostream& operator<< std::ostream &  os,
const Box< Float > &  x
 

Standard output stream to print out the coords of the box.

Definition at line 114 of file Box.h.


Generated on Mon Jun 28 14:58:37 2004 for Advanced Surface Library by doxygen 1.3.4