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

Represents a DXF ARC entity. More...

#include <Entities.h>

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

Public Member Functions

 Arc (const QPointF &center, double radius, double start_angle, double end_angle, const QString &layer_name, const QColor &color)
 Constructs an Arc 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
 Venter point in undefined units.
double _radius
 Radius in undefined units.
double _startAngle
 Start-angle in degrees.
double _endAngle
 End-angle in degrees.
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 ARC entity.

Constructor & Destructor Documentation

◆ Arc()

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

Constructs an Arc entity.

Parameters
centerThe center point of the arc.
radiusThe radius of the arc.
start_angleThe start angle in degrees.
end_angleThe end angle in degrees.
layer_nameThe name of the layer.
colorThe color of the arc.

Member Data Documentation

◆ _center

QPointF sf::dxf::Arc::_center

Venter point in undefined units.

◆ _endAngle

double sf::dxf::Arc::_endAngle

End-angle in degrees.

◆ _radius

double sf::dxf::Arc::_radius

Radius in undefined units.

◆ _startAngle

double sf::dxf::Arc::_startAngle

Start-angle in degrees.


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