cgma
vert_surf_dist_sort Struct Reference

List of all members.

Public Member Functions

bool operator() (dist_vert_surf_struct a, dist_vert_surf_struct b) const

Detailed Description

Definition at line 5354 of file GeomMeasureTool.cpp.


Member Function Documentation

bool vert_surf_dist_sort::operator() ( dist_vert_surf_struct  a,
dist_vert_surf_struct  b 
) const [inline]

Definition at line 5356 of file GeomMeasureTool.cpp.

  {
    if( a.dist < b.dist )
      return true;
    else if( a.dist > b.dist )
      return false;
    else 
    {
      if( a.vert < b.vert )
        return true;
      else if( a.vert > b.vert )
        return false;
      else if( a.face < b.face )
        return true;
      else if( a.face > b.face )
        return false;
    }
    return false;
  }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines