LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ClipperHelpers Class Referencefinal

The ClipperHelpers class. More...

#include <clipperhelpers.h>

+ Collaboration diagram for ClipperHelpers:

Public Member Functions

 ClipperHelpers ()=delete
 
 ~ClipperHelpers ()=delete
 

Static Public Member Functions

static void offset (ClipperLib::Paths &paths, const Length &offset, const PositiveLength &maxArcTolerance)
 
static ClipperLib::Paths flattenTree (const ClipperLib::PolyNode &node)
 
static QVector< Pathconvert (const ClipperLib::Paths &paths) noexcept
 
static Path convert (const ClipperLib::Path &path) noexcept
 
static Point convert (const ClipperLib::IntPoint &point) noexcept
 
static ClipperLib::Paths convert (const QVector< Path > &paths, const PositiveLength &maxArcTolerance) noexcept
 
static ClipperLib::Path convert (const Path &path, const PositiveLength &maxArcTolerance) noexcept
 
static ClipperLib::IntPoint convert (const Point &point) noexcept
 

Static Private Member Functions

static ClipperLib::Path convertHolesToCutIns (const ClipperLib::Path &outline, const ClipperLib::Paths &holes)
 
static ClipperLib::Paths prepareHoles (const ClipperLib::Paths &holes) noexcept
 
static ClipperLib::Path rotateCutInHole (const ClipperLib::Path &hole) noexcept
 
static int getHoleConnectionPointIndex (const ClipperLib::Path &hole) noexcept
 
static void addCutInToPath (ClipperLib::Path &outline, const ClipperLib::Path &hole)
 
static int insertConnectionPointToPath (ClipperLib::Path &path, const ClipperLib::IntPoint &p)
 
static bool calcIntersectionPos (const ClipperLib::IntPoint &p1, const ClipperLib::IntPoint &p2, const ClipperLib::cInt &x, ClipperLib::cInt &y) noexcept
 

Detailed Description

The ClipperHelpers class.

Constructor & Destructor Documentation

ClipperHelpers ( )
delete
~ClipperHelpers ( )
delete

Member Function Documentation

void offset ( ClipperLib::Paths &  paths,
const Length offset,
const PositiveLength maxArcTolerance 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ClipperLib::Paths flattenTree ( const ClipperLib::PolyNode &  node)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

QVector< Path > convert ( const ClipperLib::Paths &  paths)
staticnoexcept

+ Here is the caller graph for this function:

Path convert ( const ClipperLib::Path &  path)
staticnoexcept

+ Here is the call graph for this function:

Point convert ( const ClipperLib::IntPoint &  point)
staticnoexcept
ClipperLib::Paths convert ( const QVector< Path > &  paths,
const PositiveLength maxArcTolerance 
)
staticnoexcept
ClipperLib::Path convert ( const Path path,
const PositiveLength maxArcTolerance 
)
staticnoexcept

+ Here is the call graph for this function:

ClipperLib::IntPoint convert ( const Point point)
staticnoexcept
ClipperLib::Path convertHolesToCutIns ( const ClipperLib::Path &  outline,
const ClipperLib::Paths &  holes 
)
staticprivate

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ClipperLib::Paths prepareHoles ( const ClipperLib::Paths &  holes)
staticprivatenoexcept

+ Here is the caller graph for this function:

ClipperLib::Path rotateCutInHole ( const ClipperLib::Path &  hole)
staticprivatenoexcept
int getHoleConnectionPointIndex ( const ClipperLib::Path &  hole)
staticprivatenoexcept
void addCutInToPath ( ClipperLib::Path &  outline,
const ClipperLib::Path &  hole 
)
staticprivate

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int insertConnectionPointToPath ( ClipperLib::Path &  path,
const ClipperLib::IntPoint &  p 
)
staticprivate

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool calcIntersectionPos ( const ClipperLib::IntPoint &  p1,
const ClipperLib::IntPoint &  p2,
const ClipperLib::cInt &  x,
ClipperLib::cInt &  y 
)
staticprivatenoexcept

+ Here is the caller graph for this function:


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