LibrePCB Developers Documentation
BoardClipperPathGenerator Class Referencefinal

The BoardClipperPathGenerator class creates a Clipper path from a librepcb::project::Board. More...

#include <boardclipperpathgenerator.h>

+ Collaboration diagram for BoardClipperPathGenerator:

Public Member Functions

 BoardClipperPathGenerator (Board &board, const PositiveLength &maxArcTolerance) noexcept
 
 ~BoardClipperPathGenerator () noexcept
 
const ClipperLib::Paths & getPaths () const noexcept
 
void addBoardOutline ()
 
void addHoles (const Length &offset)
 
void addCopper (const QString &layerName, const NetSignal *netsignal)
 

Private Attributes

BoardmBoard
 
PositiveLength mMaxArcTolerance
 
ClipperLib::Paths mPaths
 

Detailed Description

The BoardClipperPathGenerator class creates a Clipper path from a librepcb::project::Board.

Constructor & Destructor Documentation

◆ BoardClipperPathGenerator()

BoardClipperPathGenerator ( Board board,
const PositiveLength maxArcTolerance 
)
explicitnoexcept

◆ ~BoardClipperPathGenerator()

Member Function Documentation

◆ getPaths()

const ClipperLib::Paths& getPaths ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addBoardOutline()

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

◆ addHoles()

void addHoles ( const Length offset)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addCopper()

void addCopper ( const QString &  layerName,
const NetSignal netsignal 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mBoard

Board& mBoard
private

◆ mMaxArcTolerance

PositiveLength mMaxArcTolerance
private

◆ mPaths

ClipperLib::Paths mPaths
private

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