Files
IfcOpenShell/src/ifcgeom/infra_sweep_helper.h
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
718 B
C++
Raw Normal View History

2024-09-12 11:20:30 +02:00
#ifndef LINEAR_SWEEP_HELPER_H
#define LINEAR_SWEEP_HELPER_H
#include "taxonomy.h"
#include "ConversionSettings.h"
2025-09-26 14:24:49 +02:00
#include "ifc_geom_api.h"
2024-09-12 11:20:30 +02:00
namespace ifcopenshell {
namespace geometry {
2025-09-26 14:24:49 +02:00
struct IFC_GEOM_API cross_section {
2024-09-12 11:20:30 +02:00
double dist_along;
taxonomy::geom_item::ptr section_geometry;
Eigen::Vector3d offset;
std::optional<Eigen::Matrix3d> rotation;
2024-09-12 11:20:30 +02:00
bool operator <(const cross_section& other) const {
return dist_along < other.dist_along;
}
};
2026-07-09 13:30:48 +02:00
IFC_GEOM_API taxonomy::loft::ptr make_loft(const Settings& settings_, const express::Base inst, const taxonomy::function_item::ptr& directrix, std::vector<cross_section>& cross_sections, logger& logger = ::logger::root());
2024-09-12 11:20:30 +02:00
}
}
#endif