Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::dxf::Circle Struct Reference

Represents a DXF CIRCLE entity. More...

#include <Entities.h>

Inheritance diagram for sf::dxf::Circle:
[legend]
Collaboration diagram for sf::dxf::Circle:
[legend]

Public Member Functions

 Circle (const QPointF &center, double radius, const QString &layer_name, const QColor &color)
 Constructs a Circle 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

QPointF _center
double _radius
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...

Detailed Description

Represents a DXF CIRCLE entity.

Constructor & Destructor Documentation

◆ Circle()

sf::dxf::Circle::Circle ( const QPointF & center,
double radius,
const QString & layer_name,
const QColor & color )
inline

Constructs a Circle entity.

Parameters
centerThe center point of the circle.
radiusThe radius of the circle.
layer_nameThe name of the layer.
colorThe color of the circle.

Member Data Documentation

◆ _center

QPointF sf::dxf::Circle::_center

◆ _radius

double sf::dxf::Circle::_radius

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