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

Public Member Functions

 FractureEdge (int y=0)
 
 FractureEdge (bool connected, const VECTOR2I &p1, const VECTOR2I &p2)
 
bool matches (int y) const
 

Public Attributes

bool m_connected
 
VECTOR2I m_p1
 
VECTOR2I m_p2
 
FractureEdgem_next
 

Detailed Description

Definition at line 1443 of file shape_poly_set.cpp.

Constructor & Destructor Documentation

◆ FractureEdge() [1/2]

FractureEdge::FractureEdge ( int  y = 0)
inline

Definition at line 1445 of file shape_poly_set.cpp.

References m_p1, m_p2, VECTOR2< T >::x, and VECTOR2< T >::y.

◆ FractureEdge() [2/2]

FractureEdge::FractureEdge ( bool  connected,
const VECTOR2I p1,
const VECTOR2I p2 
)
inline

Definition at line 1452 of file shape_poly_set.cpp.

Member Function Documentation

◆ matches()

bool FractureEdge::matches ( int  y) const
inline

Definition at line 1460 of file shape_poly_set.cpp.

References m_p1, m_p2, and VECTOR2< T >::y.

Member Data Documentation

◆ m_connected

bool FractureEdge::m_connected

Definition at line 1465 of file shape_poly_set.cpp.

Referenced by SHAPE_POLY_SET::fractureSingle(), and processEdge().

◆ m_next

FractureEdge* FractureEdge::m_next

Definition at line 1468 of file shape_poly_set.cpp.

Referenced by SHAPE_POLY_SET::fractureSingle(), and processEdge().

◆ m_p1

VECTOR2I FractureEdge::m_p1

◆ m_p2

VECTOR2I FractureEdge::m_p2

Definition at line 1467 of file shape_poly_set.cpp.

Referenced by FractureEdge(), matches(), and processEdge().


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