KiCad PCB EDA Suite
POLY_GRID_PARTITION::segsEqual Struct Reference

Public Member Functions

bool operator() (const SEG &a, const SEG &b) const
 

Detailed Description

Definition at line 95 of file poly_grid_partition.h.

Member Function Documentation

◆ operator()()

bool POLY_GRID_PARTITION::segsEqual::operator() ( const SEG a,
const SEG b 
) const
inline

Definition at line 97 of file poly_grid_partition.h.

98  {
99  return (a.A == b.A && a.B == b.B) || (a.A == b.B && a.B == b.A);
100  }
VECTOR2I A
Definition: seg.h:48
VECTOR2I B
Definition: seg.h:49

References SEG::A, and SEG::B.


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