LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( BI_Plane plane)
noexcept

Member Function Documentation

QVector< Path > buildFragments ( )
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

BoardPlaneFragmentsBuilder& operator= ( const BoardPlaneFragmentsBuilder rhs)
delete
void addPlaneOutline ( )
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void clipToBoardOutline ( )
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void subtractOtherObjects ( )
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ensureMinimumWidth ( )
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void flattenResult ( )
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void removeOrphans ( )
private

+ Here is the caller graph for this function:

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:

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:

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

BI_Plane& mPlane
private
ClipperLib::Paths mConnectedNetSignalAreas
private
ClipperLib::Paths mResult
private

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