From 34a33ef72af9e183faef835fa847a78cee859a72 Mon Sep 17 00:00:00 2001 From: aszabo314 Date: Tue, 27 Feb 2024 11:10:06 +0100 Subject: [PATCH] adjusted bounding box clamp epsilon during leaf collapse --- src/Aardvark.Geometry.PointSet/Octrees/Merge.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Aardvark.Geometry.PointSet/Octrees/Merge.cs b/src/Aardvark.Geometry.PointSet/Octrees/Merge.cs index 863c1be3..dcb7e153 100644 --- a/src/Aardvark.Geometry.PointSet/Octrees/Merge.cs +++ b/src/Aardvark.Geometry.PointSet/Octrees/Merge.cs @@ -174,7 +174,7 @@ internal static (IPointCloudNode, bool) CollapseLeafNodes(this IPointCloudNode s // positions might be slightly (~eps) outside this node's bounds, // due to floating point conversion from local sub-node space to global space var bb = self.BoundingBoxExactGlobal; - var eps = bb.Size * 1e-7; + var eps = bb.Size * 1e-5; for (var i = 0; i < psla.Count; i++) { var p = psla[i];