![]() |
Scanframe Modular Application 0.1.0
|
Represents a DXF POLYLINE entity. More...
#include <Entities.h>


Public Member Functions | |
| Polyline (const QList< QPointF > &points, bool closed, const QString &layer_name, const QColor &color) | |
| Constructs a Polyline entity. | |
Public Member Functions inherited from sf::dxf::Entity | |
| Entity (Type type, const QString &layer_name, const QColor &color) | |
| Constructs a DxfEntity object. | |
| virtual | ~Entity ()=default |
| Virtual destructor for proper polymorphic cleanup. | |
Public Attributes | |
| QList< QPointF > | _points |
| bool | _isClosed |
| Whether the polyline is closed. | |
Public Attributes inherited from sf::dxf::Entity | |
| Type | _type |
| QString | _layerName |
| QColor | _color |
| Color of the entity, derived from layer or entity itself. | |
Additional Inherited Members | |
Public Types inherited from sf::dxf::Entity | |
| enum | Type { etLine , etPolyline , etCircle , etArc , etUnknown } |
| Enumeration of supported DXF entity types. More... | |
Represents a DXF POLYLINE entity.
For simplicity, this structure stores a list of 2D points. DXF polylines can be very complex (3D, fit curves, spline curves, width, etc.). This basic structure covers a simple 2D polyline.
|
inline |
Constructs a Polyline entity.
| points | The list of points defining the polyline. |
| closed | True if the polyline is closed, false otherwise. |
| layer_name | The name of the layer. |
| color | The color of the polyline. |
| bool sf::dxf::Polyline::_isClosed |
Whether the polyline is closed.
| QList<QPointF> sf::dxf::Polyline::_points |