QCAD
Open Source 2D CAD
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 
39 protected:
41 
42 public:
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 
54 Q_DECLARE_METATYPE(QSharedPointer<RTraceData>)
55 
56 #endif
Represents a 3d vector (x/y/z).
Definition: RVector.h:46
EntityType
Entity types used for property handling / filtering.
Definition: RS.h:125
#define QCADENTITY_EXPORT
Definition: entity_global.h:10
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RSolidData.h:39
Trace entity.
Definition: RTraceEntity.h:38
A graphics document contains and owns entities, layers, user coordinate systems, variables, block definitions, etc.
Definition: RDocument.h:67
Q_DECLARE_METATYPE(RMath *)
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RTraceData.h:35
Trace.
Definition: RS.h:155
RTraceData data
Definition: RTraceEntity.h:147
virtual RS::EntityType getType() const
Definition: RTraceData.h:46
RDocument * document
Definition: RObject.h:306