OpenLexocad  28.0
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:
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
OpenLxApp
Definition: ActiveScript.h:10
FORWARD_DECL
#define FORWARD_DECL(x, y)
Definition: Globals.h:93
OpenLxApp::Curve
A curve can be envisioned as the path of a point moving in its coordinate space. (Definition from ISO...
Definition: Curve.h:28
DECL_PROPERTY
#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
OpenLxApp::SweptDiskSolid
A SweptDiskSolid represents the 3D shape by a sweeping representation scheme allowing a two dimension...
Definition: SweptDiskSolid.h:23
Curve.h
OpenLxApp::Geometry
Super-class of all Geometries (aka GeometricRepresentationItems)
Definition: Geometry.h:24
std
Definition: GlobalId.h:64
Geometry.h
PROXY_HEADER
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146