OpenLexocad  27.1
BezierCurve.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <OpenLxApp/Conic.h>
5 #include <OpenLxApp/Line.h>
6 
7 
8 
9 FORWARD_DECL(Part, BezierCurve)
10 
11 namespace OpenLxApp
12 {
24 class LX_OPENLXAPP_EXPORT BezierCurve : public BoundedCurve
25 {
26  PROXY_HEADER(BezierCurve, Part::BezierCurve, IFC_ENTITY_UNDEFINED)
27 
28 
29  DECL_PROPERTY(BezierCurve, ClosedCurve, bool)
30  DECL_PROPERTY(BezierCurve, ControlPointsList, std::vector<Geom::Pnt>)
31  DECL_PROPERTY(BezierCurve, Degree, int)
32  DECL_PROPERTY(BezierCurve, SelfIntersect, bool)
33 
34 public:
35  ~BezierCurve(void);
36 
37 private:
38  BezierCurve(void) {}
39 };
40 } // namespace OpenLxApp
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
Definition: ActiveScript.h:7
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:24
#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