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

Arak::ScanVertexComparator Class Reference

#include <cone_tracing.hpp>

List of all members.


Detailed Description

This object is used to place a total ordering on scan vertices.

Scan vertices are ordered by direction (angle).

Definition at line 222 of file cone_tracing.hpp.

Public Member Functions

 ScanVertexComparator (const Geometry::Direction &min)
 Constructor.

bool operator() (const ScanVertex &a, const ScanVertex &b) const
 The comparison operator.


Private Attributes

Geometry::Direction min
 A direction that serves as the least direction.


Constructor & Destructor Documentation

Arak::ScanVertexComparator::ScanVertexComparator const Geometry::Direction min  )  [inline]
 

Constructor.

Parameters:
min a direction that serves as the least direction

Definition at line 238 of file cone_tracing.hpp.

References Arak::Geometry::Direction.


Member Function Documentation

bool Arak::ScanVertexComparator::operator() const ScanVertex a,
const ScanVertex b
const [inline]
 

The comparison operator.

Parameters:
a a handle to a scan vertex
b a handle to a scan vertex
Returns:
true if the scan vertex indicated by a precedes the scan vertex indicated by b

Definition at line 248 of file cone_tracing.hpp.

References Arak::compare(), Arak::Geometry::Direction, Arak::ScanVertex::edge, Arak::ScanVertex::isMin, and min.


Member Data Documentation

Geometry::Direction Arak::ScanVertexComparator::min [private]
 

A direction that serves as the least direction.

Definition at line 229 of file cone_tracing.hpp.

Referenced by operator()().


The documentation for this class was generated from the following file:
Generated on Wed May 25 14:41:08 2005 for Arak by doxygen 1.3.6