KiCad PCB EDA Suite
std::less< VECTOR2I > Struct Reference

#include <vector2d.h>

Public Member Functions

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

Detailed Description

Definition at line 637 of file vector2d.h.

Member Function Documentation

◆ operator()()

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

Definition at line 22 of file vector2.cpp.

23{
24 if( aA.x == aB.x )
25 return aA.y < aB.y;
26
27 return aA.x < aB.x;
28}

References VECTOR2< T >::x, and VECTOR2< T >::y.


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