mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
7ae6bf4374
Apply the rename manifest, normalize serializer filenames to the classes they define, and update includes and CMake source lists. Generated with the assistance of an AI coding tool.
30 lines
747 B
C++
30 lines
747 B
C++
#ifndef LINEAR_SWEEP_HELPER_H
|
|
#define LINEAR_SWEEP_HELPER_H
|
|
|
|
#include "taxonomy.h"
|
|
#include "conversion_settings.h"
|
|
|
|
#include "ifc_geom_api.h"
|
|
|
|
namespace ifcopenshell {
|
|
|
|
namespace geom {
|
|
|
|
struct IFC_GEOM_API cross_section {
|
|
double dist_along;
|
|
taxonomy::geom_item::ptr section_geometry;
|
|
Eigen::Vector3d offset;
|
|
std::optional<Eigen::Matrix3d> rotation;
|
|
|
|
bool operator <(const cross_section& other) const {
|
|
return dist_along < other.dist_along;
|
|
}
|
|
};
|
|
|
|
IFC_GEOM_API taxonomy::loft::ptr make_loft(const ifcopenshell::geom::settings& settings, const express::base inst, const taxonomy::function_item::ptr& directrix, std::vector<cross_section>& cross_sections, logger& logger = ifcopenshell::logger::root());
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|