OpenLexocad  27.1
ExtrudedAreaSolid.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Geom/Ax2.h>
4 #include <Geom/Dir.h>
6 #include <OpenLxApp/Geometry.h>
7 #include <OpenLxApp/ProfileDef.h>
8 
9 
10 FORWARD_DECL(Part, ExtrudedAreaSolid)
11 
12 namespace OpenLxApp
13 {
27 class LX_OPENLXAPP_EXPORT ExtrudedAreaSolid : public Geometry
28 {
29  PROXY_HEADER(ExtrudedAreaSolid, Part::ExtrudedAreaSolid, IFCEXTRUDEDAREASOLID)
30 
32  DECL_PROPERTY(ExtrudedAreaSolid, ExtrudedDirection, Geom::Dir)
33  DECL_PROPERTY(ExtrudedAreaSolid, Depth, double)
34 
35 public:
36  ~ExtrudedAreaSolid(void);
37 
38  void setSweptArea(std::shared_ptr<ProfileDef> area);
39  std::shared_ptr<ProfileDef> getSweptArea() const;
40 
41 private:
42  ExtrudedAreaSolid(void) {}
43 };
44 } // namespace OpenLxApp
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
Super-class of all Geometries (aka GeometricRepresentationItems)
Definition: Geometry.h:23
Definition: Ax2.h:67
Definition: Dir.h:45
Definition: ActiveScript.h:7
#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:242
#define FORWARD_DECL(x, y)
Definition: Globals.h:93
The extruded area solid is defined by sweeping a bounded planar surface. The direction of the extrusi...
Definition: ExtrudedAreaSolid.h:27