- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# col::BoxtreePrecomp Class Reference

Contains all things that can be precomputed before a traversal of Boxtree's. More...

Collaboration diagram for col::BoxtreePrecomp:

[legend]
List of all members.

## Public Member Functions
| BoxtreePrecomp (const osg::Matrix &m)
## Public Attributes
float | m_b [3][3]
| Three unit vectors spanning the bbox of this in other's coord system in Boxtree::check().
bool | m_b_gt_0 [3][3]
| precomputed float comparisons

## Detailed Description

Contains all things that can be precomputed before a traversal of Boxtree's.

This is a helper class for Boxtree::check() only!

Warning:
  Does not work if there is a scaling or shear in m!

Author:
  Gabriel Zachmann, written 1997, re-implemented on OSG in May 2002.

Todo:
  - Es ist nicht egal, in welches Koord.system transformiert wird! Man sollte das abhaengig von der Anzahl der Polygone machen.
  - Evtl. kann man m_b auch einsparen.

The documentation for this class was generated from the following files:

- ColBoxtree.h
- ColBoxtree.cpp