LibrePCB Developers Documentation
BoardPlaneFragmentsBuilder Class Referencefinal

The BoardPlaneFragmentsBuilder class. More...

#include <boardplanefragmentsbuilder.h>

+ Collaboration diagram for BoardPlaneFragmentsBuilder:

Public Member Functions

 BoardPlaneFragmentsBuilder ()=delete
 
 BoardPlaneFragmentsBuilder (const BoardPlaneFragmentsBuilder &other)=delete
 
 BoardPlaneFragmentsBuilder (BI_Plane &plane) noexcept
 
 ~BoardPlaneFragmentsBuilder () noexcept
 
QVector< PathbuildFragments () noexcept
 
BoardPlaneFragmentsBuilderoperator= (const BoardPlaneFragmentsBuilder &rhs)=delete
 

Private Member Functions

void addPlaneOutline ()
 
void clipToBoardOutline ()
 
void subtractOtherObjects ()
 
void ensureMinimumWidth ()
 
void flattenResult ()
 
void removeOrphans ()
 
ClipperLib::Path createPadCutOut (const BI_FootprintPad &pad) const noexcept
 
ClipperLib::Path createViaCutOut (const BI_Via &via) const noexcept
 

Static Private Member Functions

static PositiveLength maxArcTolerance () noexcept
 

Private Attributes

BI_PlanemPlane
 
ClipperLib::Paths mConnectedNetSignalAreas
 
ClipperLib::Paths mResult
 

Detailed Description

Constructor & Destructor Documentation

◆ BoardPlaneFragmentsBuilder() [1/3]

◆ BoardPlaneFragmentsBuilder() [2/3]

◆ BoardPlaneFragmentsBuilder() [3/3]

BoardPlaneFragmentsBuilder ( BI_Plane plane)
noexcept

◆ ~BoardPlaneFragmentsBuilder()

Member Function Documentation

◆ buildFragments()

QVector< Path > buildFragments ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

BoardPlaneFragmentsBuilder& operator= ( const BoardPlaneFragmentsBuilder rhs)
delete

◆ addPlaneOutline()

void addPlaneOutline ( )
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clipToBoardOutline()

void clipToBoardOutline ( )
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ subtractOtherObjects()

void subtractOtherObjects ( )
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ensureMinimumWidth()

void ensureMinimumWidth ( )
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ flattenResult()

void flattenResult ( )
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeOrphans()

void removeOrphans ( )
private
+ Here is the caller graph for this function:

◆ createPadCutOut()

ClipperLib::Path createPadCutOut ( const BI_FootprintPad pad) const
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createViaCutOut()

ClipperLib::Path createViaCutOut ( const BI_Via via) const
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ maxArcTolerance()

static PositiveLength maxArcTolerance ( )
inlinestaticprivatenoexcept

Returns the maximum allowed arc tolerance when flattening arcs. Do not change this if you don't know exactly what you're doing (it affects all planes in all existing boards)!

+ Here is the caller graph for this function:

Member Data Documentation

◆ mPlane

BI_Plane& mPlane
private

◆ mConnectedNetSignalAreas

ClipperLib::Paths mConnectedNetSignalAreas
private

◆ mResult

ClipperLib::Paths mResult
private

The documentation for this class was generated from the following files: