mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 05:22:06 +00:00
Proceed with merge
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user