OpenLexocad  27.0
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>
8 #include <OpenLxApp/ProfileDef.h>
9 
10 
11 FORWARD_DECL(Part, ExtrudedAreaSolid)
12 
13 namespace OpenLxApp
14 {
29 {
30  PROXY_HEADER(ExtrudedAreaSolid, Part::ExtrudedAreaSolid, IFCEXTRUDEDAREASOLID)
31 
33  DECL_PROPERTY(ExtrudedAreaSolid, ExtrudedDirection, Geom::Dir)
34  DECL_PROPERTY(ExtrudedAreaSolid, Depth, double)
35 
36 public:
37  ~ExtrudedAreaSolid(void);
38 
39  void setSweptArea(std::shared_ptr<ProfileDef> area);
40  std::shared_ptr<ProfileDef> getSweptArea() const;
41 
42 private:
43  ExtrudedAreaSolid(void) {}
44 };
45 } // namespace OpenLxApp
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:149
Super-class of all Geometries (aka GeometricRepresentationItems)
Definition: Geometry.h:26
Definition: Ax2.h:69
#define OPENLXAPP_EXPORT
Definition: OpenLxApp_defines.h:12
Definition: Dir.h:46
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
#define FORWARD_DECL(x, y)
Definition: Globals.h:96
The extruded area solid is defined by sweeping a bounded planar surface. The direction of the extrusi...
Definition: ExtrudedAreaSolid.h:28