OpenLexocad  27.1
SweptDiskSolid.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <OpenLxApp/Curve.h>
4 #include <OpenLxApp/Geometry.h>
5 
6 
7 
8 FORWARD_DECL(Part, SweptDiskSolid)
9 
10 namespace OpenLxApp
11 {
22 class LX_OPENLXAPP_EXPORT SweptDiskSolid : public Geometry
23 {
24  PROXY_HEADER(SweptDiskSolid, Part::SweptDiskSolid, IFCSWEPTDISKSOLID)
25 
26  DECL_PROPERTY(SweptDiskSolid, Radius, double)
27 public:
28  ~SweptDiskSolid(void);
29 
30  void setDirectrix(std::shared_ptr<Curve> curve);
31  std::shared_ptr<Curve> getDirectrix() const;
32 
33 
34 private:
35  SweptDiskSolid(void) {}
36 };
37 
38 } // namespace OpenLxApp
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
Super-class of all Geometries (aka GeometricRepresentationItems)
Definition: Geometry.h:23
Definition: ActiveScript.h:7
A SweptDiskSolid represents the 3D shape by a sweeping representation scheme allowing a two dimension...
Definition: SweptDiskSolid.h:22
#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