Public Member Functions | Public Attributes

gmtl::CompareIndexPointProjections Struct Reference

#include <Comparitors.h>

List of all members.

Public Member Functions

 CompareIndexPointProjections ()
bool operator() (const unsigned x, const unsigned y)

Public Attributes

const std::vector< Point3 > * points
gmtl::Vec3 sortDir

Detailed Description

Definition at line 22 of file Comparitors.h.

Constructor & Destructor Documentation

gmtl::CompareIndexPointProjections::CompareIndexPointProjections (  )  [inline]

Definition at line 25 of file Comparitors.h.

                                     : points(NULL)

Member Function Documentation

bool gmtl::CompareIndexPointProjections::operator() ( const unsigned  x,
const unsigned  y 
) [inline]

Definition at line 28 of file Comparitors.h.

         float xVal =*points)[x]);
         float yVal =*points)[y]);

         return (xVal < yVal);

Member Data Documentation

const std::vector<Point3>* gmtl::CompareIndexPointProjections::points

Definition at line 36 of file Comparitors.h.

Definition at line 37 of file Comparitors.h.

The documentation for this struct was generated from the following file: