File 0003-Hide-missing-implementation-of-snlSurface-guessProjL.patch of Package libSNL
From de877f8570376c166f088a1df55036b2428c1e53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Sun, 17 Nov 2024 08:00:58 +0100
Subject: [PATCH 3/5] Hide missing implementation of
snlSurface::guessProjLocation_triMethod
Make sure we get a linker error instead of a runtime error later when
someone calls this function.
---
trunk/src/snlSurface_projection.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/trunk/src/snlSurface_projection.cpp b/trunk/src/snlSurface_projection.cpp
index 319da33..3ea4829 100644
--- a/trunk/src/snlSurface_projection.cpp
+++ b/trunk/src/snlSurface_projection.cpp
@@ -1856,6 +1856,7 @@ ptrList <snlSurfLocnGuess>* snlSurface::guessFastProjLocation ( snlPoint* points
return retList;
}
+#if 0
ptrList <snlSurfLocnGuess>* snlSurface::guessProjLocation_triMethod ( snlPoint* points, int numPoints, bool* pointMask )
{
//! Guess parametric location of given points using triangular decomposition.
@@ -1866,10 +1867,8 @@ ptrList <snlSurfLocnGuess>* snlSurface::guessProjLocation_triMethod ( snlPoint*
//! array. Must be true to process.
//!
//! @return List of surface location guess structs. Caller owns this list.
-
-
-
}
+#endif
int snlSurface::hasAmbigEdges ( sEdge* results, double tolerance )
{
--
2.47.0