From 3aa4740df2e55ce2b253391dd3ea335b6cb81cab Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Mon, 11 Mar 2013 15:57:05 +0100 Subject: [PATCH] Reformated parameter list of lineSegementsIntersect(). --- GeoLib/AnalyticalGeometry.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GeoLib/AnalyticalGeometry.cpp b/GeoLib/AnalyticalGeometry.cpp index c4a8fa6e574..1df7b2dd44e 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); -- GitLab