vtf-logo

composite_compare.h File Reference

Implements functions and classes for a comparing composite numbers. More...

#include "../array/FixedArray.h"
#include <functional>
#include "composite_compare.ipp"

Go to the source code of this file.

Namespaces

namespace  ads

Classes

class  ads::less_composite< N, PointType >
 Composite comparison of points. More...
struct  ads::xless_composite< PointType >
 Compare x coordinate using the composite number (x,y,z). More...
struct  ads::yless_composite< PointType >
 Compare y coordinate using the composite number (y,z,x). More...
struct  ads::zless_composite< PointType >
 Compare z coordinate using the composite number (z,x,y). More...

Functions

template<int N, typename PointType>
bool ads::less_composite_fcn (const int n, const PointType &a, const PointType &b)
 Compare the n coordinate of an N-dimensional composite number.
template<typename Pt3D>
bool ads::xless_composite_compare (const Pt3D &a, const Pt3D &b)
 Compare x coordinate using the composite number (x,y,z).
template<typename Pt3D>
bool ads::yless_composite_compare (const Pt3D &a, const Pt3D &b)
 Compare y coordinate using the composite number (y,z,x).
template<typename Pt3D>
bool ads::zless_composite_compare (const Pt3D &a, const Pt3D &b)
 Compare z coordinate using the composite number (z,x,y).
template<typename Pt3D>
bool ads::less_composite_compare (int i, const Pt3D &a, const Pt3D &b)
 Compare the i coordinate.


Detailed Description

Implements functions and classes for a comparing composite numbers.


Generated on Fri Aug 24 12:55:36 2007 for Algorithms and Data Structures Package by  doxygen 1.4.7