2024-09-12 11:20:30 +02:00
|
|
|
#ifndef LINEAR_SWEEP_HELPER_H
|
|
|
|
|
#define LINEAR_SWEEP_HELPER_H
|
|
|
|
|
|
|
|
|
|
#include "taxonomy.h"
|
|
|
|
|
#include "ConversionSettings.h"
|
|
|
|
|
|
|
|
|
|
namespace ifcopenshell {
|
|
|
|
|
|
|
|
|
|
namespace geometry {
|
|
|
|
|
|
|
|
|
|
struct cross_section {
|
|
|
|
|
double dist_along;
|
|
|
|
|
taxonomy::geom_item::ptr section_geometry;
|
|
|
|
|
Eigen::Vector3d offset;
|
|
|
|
|
|
|
|
|
|
bool operator <(const cross_section& other) const {
|
|
|
|
|
return dist_along < other.dist_along;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
2025-01-02 11:10:56 -08:00
|
|
|
taxonomy::loft::ptr make_loft(const Settings& settings_, const IfcUtil::IfcBaseClass* inst, const taxonomy::function_item::ptr& directrix, std::vector<cross_section>& cross_sections);
|
2024-09-12 11:20:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|