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 1748 of file shape_line_chain.cpp.

Constructor & Destructor Documentation

◆ compareOriginDistance()

compareOriginDistance::compareOriginDistance ( const VECTOR2I aOrigin)
inline

Definition at line 1750 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 1753 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 1759 of file shape_line_chain.cpp.

Referenced by operator()().


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