diff --git a/GeoLib/AnalyticalGeometry.cpp b/GeoLib/AnalyticalGeometry.cpp index c4a8fa6e5747414174e6298aa3a6f108cf2874c9..1df7b2dd44ef0e115e50bf36e65fa0e8d517f2a5 100644 --- a/GeoLib/AnalyticalGeometry.cpp +++ b/GeoLib/AnalyticalGeometry.cpp @@ -29,6 +29,7 @@ #include "Triangle.h" // MathLib +#include "LinAlg/Dense/Matrix.h" // for transformation matrix #include "LinAlg/Solvers/GaussAlgorithm.h" #include "MathTools.h" @@ -106,7 +107,9 @@ bool lineSegmentIntersect(const GeoLib::Point& a, const GeoLib::Point& b, const return false; } -bool lineSegmentsIntersect(const GeoLib::Polyline* ply, size_t &idx0, size_t &idx1, +bool lineSegmentsIntersect(const GeoLib::Polyline* ply, + size_t &idx0, + size_t &idx1, GeoLib::Point& intersection_pnt) { size_t n_segs(ply->getNumberOfPoints() - 1);