From 26332b4d8a9e0881fbc522625370945c057f2e50 Mon Sep 17 00:00:00 2001 From: fquarenghi Date: Thu, 23 Nov 2023 17:03:50 +0100 Subject: [PATCH] added export function --- src/LevelSets/SignedDistances.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/LevelSets/SignedDistances.jl b/src/LevelSets/SignedDistances.jl index 85f6ec2f..863a1ec7 100644 --- a/src/LevelSets/SignedDistances.jl +++ b/src/LevelSets/SignedDistances.jl @@ -1,5 +1,7 @@ using LinearAlgebra, GeometryBasics +export sd_dem + @inline S(x) = x == zero(x) ? oneunit(x) : sign(x) @inline sign_triangle(p, a, b, c) = S(dot(p - a, cross(b - a, c - a)))