OpenLexocad  28.0
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
OpenLxApp
Definition: ActiveScript.h:10
FORWARD_DECL
#define FORWARD_DECL(x, y)
Definition: Globals.h:93
pShape
std::shared_ptr< Topo::Shape > pShape
Definition: Variant.h:64
DECL_PROPERTY
#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
Pnt.h
OpenLxApp::Geometry
Super-class of all Geometries (aka GeometricRepresentationItems)
Definition: Geometry.h:24
std
Definition: GlobalId.h:64
OpenLxApp::FacetedBrep
A faceted brep is a simple form of boundary representation model in which all faces are planar and al...
Definition: FacetedBrep.h:88
Geometry.h
PROXY_HEADER
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
Geom
Definition: PropertyContainer.h:33