KiCad PCB EDA Suite
std::less< wxPoint > Struct Template Reference

#include <common.h>

Public Member Functions

bool operator() (const wxPoint &aA, const wxPoint &aB) const

Detailed Description

struct std::less< wxPoint >

Definition at line 378 of file common.h.

Member Function Documentation

bool std::less< wxPoint >::operator() ( const wxPoint aA,
const wxPoint aB 
) const

Definition at line 526 of file common.cpp.

References wxPoint::x, and wxPoint::y.

527 {
528  if( aA.x == aB.x )
529  return aA.y < aB.y;
531  return aA.x < aB.x;
532 }

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