OpenLexocad  27.0
TrimmedCurve.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Core/PropertyLogical.h>
4 #include <Core/PropertyReal.h>
6 #include <OpenLxApp/Conic.h>
7 #include <OpenLxApp/Line.h>
8 
9 
10 
11 FORWARD_DECL(Part, TrimmedCurve)
12 
13 namespace OpenLxApp
14 {
27 {
28  PROXY_HEADER(TrimmedCurve, Part::TrimmedCurve, IFCTRIMMEDCURVE)
29 
30  DECL_PROPERTY(TrimmedCurve, Trim1, double)
31  DECL_PROPERTY(TrimmedCurve, Trim2, double)
32  DECL_PROPERTY(TrimmedCurve, Sense, bool)
33 
34 public:
35  ~TrimmedCurve(void);
36 
37  void setBasisCurve(std::shared_ptr<Conic> aConic);
38  void setBasisCurve(std::shared_ptr<Line> aLine);
39  std::shared_ptr<Curve> getBasisCurve() const;
40 
41 private:
42  TrimmedCurve(void) {}
43 };
44 } // namespace OpenLxApp
A trimmed curve is a bounded curve which is created by taking a selected portion, between two identif...
Definition: TrimmedCurve.h:26
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:149
#define OPENLXAPP_EXPORT
Definition: OpenLxApp_defines.h:12
Definition: ActiveScript.h:9
A bounded curve is a curve of finite arc length with identifiable end points. (Definition from ISO/CD...
Definition: BoundedCurve.h:19
#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