20#ifndef LIBREPCB_CORE_BOARDPOLYGONDATA_H
21#define LIBREPCB_CORE_BOARDPOLYGONDATA_H
26#include "../../geometry/path.h"
27#include "../../types/uuid.h"
86 return !(*
this == rhs);
The BoardPolygonData class.
Definition: boardpolygondata.h:45
bool setLineWidth(const UnsignedLength &width) noexcept
Definition: boardpolygondata.cpp:98
bool mLocked
Definition: boardpolygondata.h:97
bool isFilled() const noexcept
Definition: boardpolygondata.h:62
bool operator!=(const BoardPolygonData &rhs) const noexcept
Definition: boardpolygondata.h:85
const Path & getPath() const noexcept
Definition: boardpolygondata.h:61
UnsignedLength mLineWidth
Definition: boardpolygondata.h:93
Uuid mUuid
Definition: boardpolygondata.h:91
bool mIsGrabArea
Definition: boardpolygondata.h:96
const Layer & getLayer() const noexcept
Definition: boardpolygondata.h:59
bool mIsFilled
Definition: boardpolygondata.h:95
bool setPath(const Path &path) noexcept
Definition: boardpolygondata.cpp:107
bool isLocked() const noexcept
Definition: boardpolygondata.h:64
bool setIsGrabArea(bool isGrabArea) noexcept
Definition: boardpolygondata.cpp:125
BoardPolygonData & operator=(const BoardPolygonData &rhs)=default
bool setLayer(const Layer &layer) noexcept
Definition: boardpolygondata.cpp:89
const UnsignedLength & getLineWidth() const noexcept
Definition: boardpolygondata.h:60
void serialize(SExpression &root) const
Serialize into librepcb::SExpression node.
Definition: boardpolygondata.cpp:147
~BoardPolygonData() noexcept
Definition: boardpolygondata.cpp:82
const Uuid & getUuid() const noexcept
Definition: boardpolygondata.h:58
bool operator==(const BoardPolygonData &rhs) const noexcept
Definition: boardpolygondata.cpp:164
const Layer * mLayer
Definition: boardpolygondata.h:92
Path mPath
Definition: boardpolygondata.h:94
bool setLocked(bool locked) noexcept
Definition: boardpolygondata.cpp:134
BoardPolygonData()=delete
bool setIsFilled(bool isFilled) noexcept
Definition: boardpolygondata.cpp:116
bool isGrabArea() const noexcept
Definition: boardpolygondata.h:63
The Layer class provides all supported geometry layers.
Definition: layer.h:42
The Path class represents a list of vertices connected by straight lines or circular arc segments.
Definition: path.h:58
The SExpression class.
Definition: sexpression.h:69
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
Definition: occmodel.cpp:77
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition: length.h:696