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

#include <shape_line_chain.h>

Public Member Functions

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

Public Attributes

VECTOR2I m_origin
 

Detailed Description

Definition at line 632 of file shape_line_chain.h.

Constructor & Destructor Documentation

◆ compareOriginDistance()

SHAPE_LINE_CHAIN::compareOriginDistance::compareOriginDistance ( const VECTOR2I aOrigin)
inline

Definition at line 634 of file shape_line_chain.h.

Member Function Documentation

◆ operator()()

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

Definition at line 638 of file shape_line_chain.h.

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

Member Data Documentation

◆ m_origin

VECTOR2I SHAPE_LINE_CHAIN::compareOriginDistance::m_origin

Definition at line 643 of file shape_line_chain.h.

Referenced by operator()().


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