OpenLexocad  27.1
FacetedBrep.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Geom/Pnt.h>
4 #include <OpenLxApp/Geometry.h>
5 #include <vector>
6 
7 
8 
9 FORWARD_DECL(Part, FacetedBrep)
10 
11 namespace OpenLxApp
12 {
87 class LX_OPENLXAPP_EXPORT FacetedBrep : public Geometry
88 {
89  PROXY_HEADER(FacetedBrep, Part::FacetedBrep, IFCFACETEDBREP)
90 
91  DECL_PROPERTY(FacetedBrep, Model, std::vector<int>)
92  DECL_PROPERTY(FacetedBrep, Points, std::vector<Geom::Pnt>)
93 
94 public:
95  ~FacetedBrep(void);
96  bool setShape(pShape aShape);
97 
98 private:
99  FacetedBrep(void) {}
100 };
101 
102 } // namespace OpenLxApp
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
Super-class of all Geometries (aka GeometricRepresentationItems)
Definition: Geometry.h:23
Definition: ActiveScript.h:7
#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
A faceted brep is a simple form of boundary representation model in which all faces are planar and al...
Definition: FacetedBrep.h:87
#define FORWARD_DECL(x, y)
Definition: Globals.h:93
std::shared_ptr< Topo::Shape > pShape
Definition: Variant.h:76