OpenLexocad  27.0
MaterialLayerSet.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Core/PropertyAxis2.h>
4 #include <Core/PropertyReal.h>
5 #include <Geom/Ax2.h>
6 #include <Geom/Pnt.h>
7 #include <OpenLxApp/Geometry.h>
9 
10 #include <vector>
11 
12 FORWARD_DECL(Part, Box)
13 
14 namespace OpenLxApp
15 {
30 class OPENLXAPP_EXPORT Block : public Geometry
31 {
32  PROXY_HEADER(Block, Part::Box, IFCBLOCK)
33 
34  DECL_PROPERTY(Block, XLength, double)
35  DECL_PROPERTY(Block, YLength, double)
36  DECL_PROPERTY(Block, ZLength, double)
37  DECL_PROPERTY(Block, Position, Geom::Ax2)
38 
39  // Deprecated:
40  DECL_PROPERTY(Block, Length, double) // Deprecated. Use XLength instead.
41  DECL_PROPERTY(Block, Width, double) // Deprecated. Use YLength instead.
42  DECL_PROPERTY(Block, Height, double) // Deprecated. Use ZLength instead.
43 
44 
45 
46 public:
47  ~Block();
48 
49 private:
50  Block() {}
51 };
52 
53 } // namespace OpenLxApp
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:149
Definition: Ax2.h:69
#define OPENLXAPP_EXPORT
Definition: OpenLxApp_defines.h:12
Definition: ActiveScript.h:9
#define DECL_PROPERTY(_class_, _name_, _type_)
DECL_PROPERTY and DEFINE_PROPERTY are macros used for mapping between the properties of Lexocad objec...
Definition: Globals.h:245
bg::model::box< Point > Box
Definition: RTree.h:26
#define FORWARD_DECL(x, y)
Definition: Globals.h:96