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

Public Member Functions

 BOX2I_MINMAX ()
 
 BOX2I_MINMAX (int aLeft, int aTop, int aRight, int aBottom)
 
 BOX2I_MINMAX (const BOX2I &aBox)
 
 BOX2I_MINMAX (const SHAPE_ARC &aArc)
 
 BOX2I_MINMAX (const SEG &aSeg)
 
bool Intersects (const BOX2I_MINMAX &aOther) const
 

Public Attributes

int m_Left
 
int m_Top
 
int m_Right
 
int m_Bottom
 

Detailed Description

Definition at line 1829 of file shape_line_chain.cpp.

Constructor & Destructor Documentation

◆ BOX2I_MINMAX() [1/5]

BOX2I_MINMAX::BOX2I_MINMAX ( )
inline

Definition at line 1831 of file shape_line_chain.cpp.

◆ BOX2I_MINMAX() [2/5]

BOX2I_MINMAX::BOX2I_MINMAX ( int  aLeft,
int  aTop,
int  aRight,
int  aBottom 
)
inline

Definition at line 1833 of file shape_line_chain.cpp.

◆ BOX2I_MINMAX() [3/5]

BOX2I_MINMAX::BOX2I_MINMAX ( const BOX2I aBox)
inline

Definition at line 1838 of file shape_line_chain.cpp.

◆ BOX2I_MINMAX() [4/5]

BOX2I_MINMAX::BOX2I_MINMAX ( const SHAPE_ARC aArc)
inline

Definition at line 1844 of file shape_line_chain.cpp.

◆ BOX2I_MINMAX() [5/5]

BOX2I_MINMAX::BOX2I_MINMAX ( const SEG aSeg)
inline

Definition at line 1846 of file shape_line_chain.cpp.

References SEG::A, SEG::B, m_Bottom, m_Left, m_Right, m_Top, VECTOR2< T >::x, and VECTOR2< T >::y.

Member Function Documentation

◆ Intersects()

bool BOX2I_MINMAX::Intersects ( const BOX2I_MINMAX aOther) const
inline

Definition at line 1854 of file shape_line_chain.cpp.

References left, m_Bottom, m_Left, m_Right, m_Top, and right.

Referenced by SHAPE_LINE_CHAIN::SelfIntersectingWithArcs().

Member Data Documentation

◆ m_Bottom

int BOX2I_MINMAX::m_Bottom

Definition at line 1872 of file shape_line_chain.cpp.

Referenced by BOX2I_MINMAX(), and Intersects().

◆ m_Left

int BOX2I_MINMAX::m_Left

Definition at line 1869 of file shape_line_chain.cpp.

Referenced by BOX2I_MINMAX(), and Intersects().

◆ m_Right

int BOX2I_MINMAX::m_Right

Definition at line 1871 of file shape_line_chain.cpp.

Referenced by BOX2I_MINMAX(), and Intersects().

◆ m_Top

int BOX2I_MINMAX::m_Top

Definition at line 1870 of file shape_line_chain.cpp.

Referenced by BOX2I_MINMAX(), and Intersects().


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