OpenLexocad  27.0
BezierCurve.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, BezierCurve)
12 
13 namespace OpenLxApp
14 {
27 {
28  PROXY_HEADER(BezierCurve, Part::BezierCurve, IFC_ENTITY_UNDEFINED)
29 
30 
31  DECL_PROPERTY(BezierCurve, ClosedCurve, bool)
32  DECL_PROPERTY(BezierCurve, ControlPointsList, std::vector<Geom::Pnt>)
33  DECL_PROPERTY(BezierCurve, Degree, int)
34  DECL_PROPERTY(BezierCurve, SelfIntersect, bool)
35 
36 public:
37  ~BezierCurve(void);
38 
39 private:
40  BezierCurve(void) {}
41 };
42 } // namespace OpenLxApp
#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
This is a special type of curve which can be represented as a type of B-spline curve in which the kno...
Definition: BezierCurve.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