QCAD
Open Source 2D CAD
RFaceData.h
Go to the documentation of this file.
1 
20 #ifndef RFACEDATA_H
21 #define RFACEDATA_H
22 
23 #include "entity_global.h"
24 
25 #include "RSolidData.h"
26 
36 
37  friend class RFaceEntity;
38 
39 protected:
41 
42 public:
43  RFaceData();
44  RFaceData(const RVector& p1, const RVector& p2, const RVector& p3, const RVector& p4);
45 
46  virtual RS::EntityType getType() const {
47  return RS::EntityFace;
48  }
49 };
50 
54 Q_DECLARE_METATYPE(QSharedPointer<RFaceData>)
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:76
#define QCADENTITY_EXPORT
Definition: entity_global.h:10
Face.
Definition: RS.h:107
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RSolidData.h:39
RFaceData data
Definition: RFaceEntity.h:151
A graphics document contains and owns entities, layers, user coordinate systems, variables, block definitions, etc.
Definition: RDocument.h:67
Q_DECLARE_METATYPE(RMath *)
virtual RS::EntityType getType() const
Definition: RFaceData.h:46
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RFaceData.h:35
Face entity.
Definition: RFaceEntity.h:38
RDocument * document
Definition: RObject.h:308