KiCad PCB EDA Suite
Loading...
Searching...
No Matches
compareOriginDistance Struct Reference

Public Member Functions

 compareOriginDistance (const VECTOR2I &aOrigin)
 
bool operator() (const SHAPE_LINE_CHAIN::INTERSECTION &aA, const SHAPE_LINE_CHAIN::INTERSECTION &aB) const
 

Public Attributes

VECTOR2I m_origin
 

Detailed Description

Definition at line 1749 of file shape_line_chain.cpp.

Constructor & Destructor Documentation

◆ compareOriginDistance()

compareOriginDistance::compareOriginDistance ( const VECTOR2I aOrigin)
inline

Definition at line 1751 of file shape_line_chain.cpp.

Member Function Documentation

◆ operator()()

bool compareOriginDistance::operator() ( const SHAPE_LINE_CHAIN::INTERSECTION aA,
const SHAPE_LINE_CHAIN::INTERSECTION aB 
) const
inline

Definition at line 1754 of file shape_line_chain.cpp.

References m_origin, and SHAPE_LINE_CHAIN::INTERSECTION::p.

Member Data Documentation

◆ m_origin

VECTOR2I compareOriginDistance::m_origin

Definition at line 1760 of file shape_line_chain.cpp.

Referenced by operator()().


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