LibrePCB Developers Documentation
Loading...
Searching...
No Matches
path.h File Reference
#include "../exceptions.h"
#include "vertex.h"
#include <type_safe/constrained_type.hpp>
#include <QtCore>
#include <QtGui>
+ Include dependency graph for path.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Path
 The Path class represents a list of vertices connected by straight lines or circular arc segments. More...
 
struct  NonEmptyPathVerifier
 
struct  NonEmptyPathConstraint
 
struct  StraightAreaPathVerifier
 
struct  StraightAreaPathConstraint
 

Namespaces

namespace  librepcb
 

Typedefs

using NonEmptyPath = type_safe::constrained_type< Path, NonEmptyPathConstraint, NonEmptyPathVerifier >
 
using StraightAreaPath = type_safe::constrained_type< Path, StraightAreaPathConstraint, StraightAreaPathVerifier >
 

Functions

std::size_t qHash (const Path &key, std::size_t seed=0) noexcept
 
std::size_t qHash (const NonEmptyPath &key, std::size_t seed=0) noexcept
 
NonEmptyPath makeNonEmptyPath (const Point &pos) noexcept
 
std::size_t qHash (const StraightAreaPath &key, std::size_t seed=0) noexcept