From c2e0d3ce14100ddd8fe9049e7a48ac5790a771a1 Mon Sep 17 00:00:00 2001 From: LorenzoM Date: Wed, 30 Jun 2021 11:17:00 +0200 Subject: [PATCH] Spostati prototipi di funz in EGkPolyLine.h --- EGkPolyLine.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/EGkPolyLine.h b/EGkPolyLine.h index 4d1f998..c30435d 100644 --- a/EGkPolyLine.h +++ b/EGkPolyLine.h @@ -134,18 +134,18 @@ typedef std::vector POLYLINEVECTOR ; // vettore di PolyLine typedef std::list POLYLINELIST ; // lista di PolyLine //---------------------------------------------------------------------------- -/*static*/ bool +bool ChangePolyLineStart( const Point3d& ptNewStart, PolyLine& Loop, double dTol = EPS_SMALL) ; // nSegNum 0-based -/*static*/ bool -PointPositionOnPolyLine( const Point3d& ptPoint, /*const*/ PolyLine& Loop, int& nSegNum, double& dParOnSeg, double dTol = EPS_SMALL) ; -/*static*/ bool -IsPointInsidePolyLine( const Point3d& ptP, /*const*/ PolyLine& plPoly) ; -/*static*/ bool +bool +PointPositionOnPolyLine( const Point3d& ptPoint, const PolyLine& Loop, int& nSegNum, double& dParOnSeg, double dTol = EPS_SMALL) ; +bool +IsPointInsidePolyLine( const Point3d& ptP, const PolyLine& plPoly) ; +bool DistPointPolyLine( const Point3d& ptP, const PolyLine& plPoly, double& dPointPolyLineDist) ; -/*static*/ bool +bool SplitPolyLineAtPoint( const Point3d& ptPoint, /*const*/ PolyLine& Loop, PolyLine& Loop1, PolyLine& Loop2, double dTol = EPS_SMALL) ; -/*static*/ bool +bool AddPolyLineToPolyLine( PolyLine& Poly, PolyLine& PolyToAdd, double dTol = EPS_SMALL) ; //----------------------------------------------------------------------------