Debian Codegraph @

src/ifcgeom/infra_sweep_helper.h

raw symbols SCIP
1 #ifndef LINEAR_SWEEP_HELPER_H
2 #define LINEAR_SWEEP_HELPER_H
3
4 #include "taxonomy.h"
5 #include "ConversionSettings.h"
6
7 namespace ifcopenshell {
8
9 namespace geometry {
10
11 struct cross_section {
12 double dist_along;
13 taxonomy::geom_item::ptr section_geometry;
14 Eigen::Vector3d offset;
15 boost::optional<Eigen::Matrix3d> rotation;
16
17 bool operator <(const cross_section& other) const {
18 return dist_along < other.dist_along;
19 }
20 };
21
22 taxonomy::loft::ptr make_loft(const Settings& settings_, const IfcUtil::IfcBaseClass* inst, const taxonomy::function_item::ptr& directrix, std::vector<cross_section>& cross_sections);
23 }
24
25 }
26
27 #endif