Base class for all DXF geometric entities.
More...
#include <Entities.h>
|
| Entity (Type type, const QString &layer_name, const QColor &color) |
| Constructs a DxfEntity object.
|
|
virtual | ~Entity ()=default |
| Virtual destructor for proper polymorphic cleanup.
|
|
Base class for all DXF geometric entities.
◆ Type
Enumeration of supported DXF entity types.
Enumerator |
---|
etLine | Represents a LINE entity.
|
etPolyline | Represents a POLYLINE entity.
|
etCircle | Represents a CIRCLE entity.
|
etArc | Represents an ARC entity.
|
etUnknown | Represents an unknown or unsupported entity type.
|
◆ Entity()
sf::dxf::Entity::Entity |
( |
Type |
type, |
|
|
const QString & |
layer_name, |
|
|
const QColor & |
color |
|
) |
| |
|
inline |
Constructs a DxfEntity object.
- Parameters
-
type | The type of the DXF entity. |
layer_name | The name of the layer the entity belongs to. |
color | The color of the entity. |
◆ ~Entity()
virtual sf::dxf::Entity::~Entity |
( |
| ) |
|
|
virtualdefault |
Virtual destructor for proper polymorphic cleanup.
◆ _color
QColor sf::dxf::Entity::_color |
Color of the entity, derived from layer or entity itself.
◆ _layerName
QString sf::dxf::Entity::_layerName |
◆ _type
Type sf::dxf::Entity::_type |
The documentation for this struct was generated from the following file: