OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ShapeUtilities.h
Go to the documentation of this file.
1#ifndef SHAPEUTILITIES_H
2#define SHAPEUTILITIES_H
3
4#include <BRepBuilderAPI_MakePolygon.hxx>
5#include <BRepBuilderAPI_MakeFace.hxx>
6#include <BRepBuilderAPI_MakeWire.hxx>
7#include <list>
8#include <vector>
9#include <gp_Pnt.hxx>
10
12public:
13 static BRepBuilderAPI_MakePolygon makePolygon(std::list<gp_Pnt>& points);
14 static std::list<BRepBuilderAPI_MakePolygon> makePolygons(std::list<std::list<gp_Pnt>>& points);
15 static BRepBuilderAPI_MakeFace makeFace(BRepBuilderAPI_MakePolygon& polygon);
16 static std::list<BRepBuilderAPI_MakeFace> makeFaces(std::list<BRepBuilderAPI_MakePolygon>& polygons, std::list<BRepBuilderAPI_MakeWire>& wires);
17 static BRepBuilderAPI_MakeWire createOffset(std::list<gp_Pnt>& points, int width, int pathType, Standard_Real height);
18};
19
20#endif // SHAPEUTILITIES_H
Definition ShapeUtilities.h:11
static std::list< BRepBuilderAPI_MakePolygon > makePolygons(std::list< std::list< gp_Pnt > > &points)
Definition ShapeUtilities.cpp:22
static BRepBuilderAPI_MakePolygon makePolygon(std::list< gp_Pnt > &points)
Definition ShapeUtilities.cpp:14
static BRepBuilderAPI_MakeWire createOffset(std::list< gp_Pnt > &points, int width, int pathType, Standard_Real height)
Definition ShapeUtilities.cpp:45
static BRepBuilderAPI_MakeFace makeFace(BRepBuilderAPI_MakePolygon &polygon)
Definition ShapeUtilities.cpp:30
static std::list< BRepBuilderAPI_MakeFace > makeFaces(std::list< BRepBuilderAPI_MakePolygon > &polygons, std::list< BRepBuilderAPI_MakeWire > &wires)
Definition ShapeUtilities.cpp:34