OpenLexocad  27.1
Line.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Geom/Dir.h>
4 #include <Geom/Pnt.h>
5 #include <OpenLxApp/Curve.h>
6 
7 
8 
9 FORWARD_DECL(Part, Line)
10 
11 namespace OpenLxApp
12 {
23 class LX_OPENLXAPP_EXPORT Line : public Curve
24 {
25  PROXY_HEADER(Line, Part::Line, IFCLINE)
26 
28  DECL_PROPERTY(Line, Direction, Geom::Dir)
29 
30 public:
31  ~Line(void);
32 
33 private:
34  Line(void) {}
35 };
36 } // namespace OpenLxApp
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:43
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
Definition: Dir.h:45
Definition: ActiveScript.h:7
A line is an unbounded curve with constant tangent direction. A line is defined by a point and a dire...
Definition: Line.h:23
#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
bgm::point< double, 3, bg::cs::cartesian > Point
Definition: RTree.h:24
#define FORWARD_DECL(x, y)
Definition: Globals.h:93
A curve can be envisioned as the path of a point moving in its coordinate space. (Definition from ISO...
Definition: Curve.h:27