col::ElemDop Struct Reference

Elementary DOP enclosing one polygon. More...

Collaboration diagram for col::ElemDop:

Collaboration graph
[legend]
List of all members.

Debugging

static unsigned int sortindex
bool operator< (const ElemDop &other) const
 Comparison operators.
bool operator> (const ElemDop &other) const
bool operator<= (const ElemDop &other) const
bool operator>= (const ElemDop &other) const
void operator= (const ElemDop &other)
static void setSortIndex (unsigned int index)

Public Attributes

Dop d
const osg::MFPnt3f * points
unsigned int pgon [MaxNVertices]
unsigned int nvertices
osg::GeometryPtr geo
unsigned int index
Pnt3f center
Dop cc

Detailed Description

Elementary DOP enclosing one polygon.

This is only needed for the construction process

Author:
Gabriel Zachmann
Warning:
Sorting an array/vector of ElemDop's is not thread-safe, because the sortindex is a class variable!
Todo:


Member Function Documentation

bool col::ElemDop::operator< ( const ElemDop other  )  const

Comparison operators.

Returns:
Text for return value.
Needed for sorting a vector of ElemDop's.

The DOPs should have been blown up a little already; no epsilon threshold is included in the comparison.

Todo:
Sort mit ordentlichem BinaryPredicate machen! (dann ist das auch thread-safe)
See also:
DopTree::constructHier


Member Data Documentation

unsigned int col::ElemDop::sortindex [static]

Todo:


The documentation for this struct was generated from the following files:
Generated on Tue Oct 16 18:12:50 2007 for CollDet by  doxygen 1.5.2