LibrePCB Developers Documentation
TangentPathJoiner::Result Struct Reference
+ Collaboration diagram for TangentPathJoiner::Result:

Public Member Functions

 Result ()
 
bool isClosed () const noexcept
 
qreal calcLengthOrArea (const QVector< Path > &paths) const noexcept
 
Result sub (int index, bool reverse, const Point &start, const Point &end) const
 
Path buildPath (const QVector< Path > &paths) const
 

Public Attributes

QVector< Segmentsegments
 
QSet< int > indices
 
QSet< Pointjunctions
 
Point startPos
 
Point endPos
 
qreal lengthAreaCache
 

Constructor & Destructor Documentation

◆ Result()

Result ( )
inline

Member Function Documentation

◆ isClosed()

bool isClosed ( ) const
inlinenoexcept

◆ calcLengthOrArea()

qreal calcLengthOrArea ( const QVector< Path > &  paths) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sub()

Result sub ( int  index,
bool  reverse,
const Point start,
const Point end 
) const
inline

◆ buildPath()

Path buildPath ( const QVector< Path > &  paths) const
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ segments

QVector<Segment> segments

◆ indices

QSet<int> indices

◆ junctions

QSet<Point> junctions

◆ startPos

Point startPos

◆ endPos

Point endPos

◆ lengthAreaCache

qreal lengthAreaCache
mutable

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