Proceed with merge

This commit is contained in:
Thomas Krijnen
2023-03-21 20:15:01 +01:00
parent cfb0eda067
commit c78b2893de
194 changed files with 105325 additions and 7785 deletions
+27 -5
View File
@@ -1,13 +1,35 @@
#ifndef PROFILE_HELPER_H
#define PROFILE_HELPER_H
#include <gp_Trsf2d.hxx>
#include <TopoDS_Shape.hxx>
#include "taxonomy.h"
namespace IfcGeom {
namespace util {
bool profile_helper(int numVerts, double* verts, int numFillets, int* filletIndices, double* filletRadii, gp_Trsf2d trsf, TopoDS_Shape& face);
namespace ifcopenshell {
namespace geometry {
struct profile_point {
std::array<double, 2> xy;
boost::optional<double> radius;
};
struct profile_point_with_edges {
Eigen::Vector2d xy;
boost::optional<double> radius;
taxonomy::edge *previous, *next;
};
struct profile_point_with_edges_3d {
Eigen::Vector3d xy;
boost::optional<double> radius;
taxonomy::edge *previous, *next;
};
taxonomy::loop* polygon_from_points(const std::vector<taxonomy::point3>& ps, bool external = true);
taxonomy::loop* profile_helper(Eigen::Matrix4d& m4, const std::vector<profile_point>& points);
taxonomy::loop* fillet_loop(taxonomy::loop* lp, double radius);
}
}
#endif