Skip to content

Commit a301385

Browse files
committed
Fix buglet in pointsinside example
* MBCAL.mesh used before it exists
1 parent 34c7b52 commit a301385

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: nat
22
Type: Package
33
Title: NeuroAnatomy Toolbox for Analysis of 3D Image Data
4-
Version: 1.8.10
4+
Version: 1.8.9.99
55
Authors@R: c(
66
person("Gregory", "Jefferis", , "[email protected]", role = c("aut", "cre")),
77
person("James", "Manton", role = c("aut"))

NEWS

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
nat 1.8.10
2-
==========
1+
nat 1.8.9.99
2+
============
33
* pointsinside now works with alpha shape (ashape3d) objects directly (#350)
44
* On windows add cygwin binary directory to path if not present
55
(fixes errors with missing cygwin DLLs)
@@ -12,8 +12,6 @@ nat 1.8.10
1212
which was giving problems with pointsinside (#349)
1313
* Fix pointsinside to return TRUE for vertices defining mesh (with distance=0)
1414
(#348)
15-
* Switch pointsinside to use Rvcg::vcgClostKD, thereby fixing some cases
16-
where points were incorrectly reported to be inside a surface. (#352)
1715

1816
nat 1.8.9
1917
=========

R/hxsurf.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ NULL
458458
#'
459459
#' # Let's try to make an alphashape for the mesh to clean it up
460460
#' library(alphashape3d)
461-
#' MBCAL.as=ashape3d(xyzmatrix(MBCAL.mesh), alpha = 10)
461+
#' MBCAL.as=ashape3d(xyzmatrix(MBCAL), alpha = 10)
462462
#' # Plotting the points, we can see that is much better behaved
463463
#' points3d(xyzmatrix(kcs20),
464464
#' col=ifelse(pointsinside(kcs20, MBCAL.as), 'red', 'black'))

man/pointsinside.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)