QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RTraceData.h
Go to the documentation of this file.
1
20#ifndef RTRACEDATA_H
21#define RTRACEDATA_H
22
23#include "entity_global.h"
24
25#include "RSolidData.h"
26
36
37 friend class RTraceEntity;
38
39protected:
40 RTraceData(RDocument* document, const RTraceData& data);
41
42public:
43 RTraceData();
44 RTraceData(const RVector& p1, const RVector& p2, const RVector& p3, const RVector& p4);
45
46 virtual RS::EntityType getType() const {
47 return RS::EntityTrace;
48 }
49};
50
54Q_DECLARE_METATYPE(QSharedPointer<RTraceData>)
55
56#endif
Q_DECLARE_METATYPE(RMath *)
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition RDocument.h:78
EntityType
Entity types used for property handling / filtering.
Definition RS.h:227
@ EntityTrace
Trace.
Definition RS.h:260
Stores and manages all data that defines the geometry and appearance of a solid entity.
Definition RSolidData.h:44
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RTraceData.h:35
virtual RS::EntityType getType() const
Definition RTraceData.h:46
Trace entity.
Definition RTraceEntity.h:38
Represents a 3d vector (x/y/z).
Definition RVector.h:47
#define QCADENTITY_EXPORT
Definition entity_global.h:10