OpenLexocad  27.0
SweptDiskSolid.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Core/PropertyReal.h>
4 #include <Geom/Ax2.h>
5 #include <Geom/Dir.h>
6 #include <OpenLxApp/Curve.h>
7 #include <OpenLxApp/Geometry.h>
9 
10 
11 
12 FORWARD_DECL(Part, SweptDiskSolid)
13 
14 namespace OpenLxApp
15 {
27 {
28  PROXY_HEADER(SweptDiskSolid, Part::SweptDiskSolid, IFCSWEPTDISKSOLID)
29 
30  DECL_PROPERTY(SweptDiskSolid, Radius, double)
31 public:
32  ~SweptDiskSolid(void);
33 
34  void setDirectrix(std::shared_ptr<Curve> curve);
35  std::shared_ptr<Curve> getDirectrix() const;
36 
37 
38 private:
39  SweptDiskSolid(void) {}
40 };
41 
42 } // namespace OpenLxApp
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:149
Super-class of all Geometries (aka GeometricRepresentationItems)
Definition: Geometry.h:26
#define OPENLXAPP_EXPORT
Definition: OpenLxApp_defines.h:12
Definition: ActiveScript.h:9
A SweptDiskSolid represents the 3D shape by a sweeping representation scheme allowing a two dimension...
Definition: SweptDiskSolid.h:26
#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