Skip to content

Commit 9fd2c66

Browse files
committed
Renamed an argument
1 parent a9f1213 commit 9fd2c66

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: spatstat.linnet
2-
Version: 3.3-2.029
2+
Version: 3.3-2.030
33
Date: 2025-11-27
44
Title: Linear Networks Functionality of the 'spatstat' Family
55
Authors@R: c(person("Adrian", "Baddeley",

NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
CHANGES IN spatstat.linnet VERSION 3.3-2.029
2+
CHANGES IN spatstat.linnet VERSION 3.3-2.030
33

44
OVERVIEW
55

R/lintessmakers.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#' Creation of linear tessellations
55
#' and intersections between lintess objects
66
#'
7-
#' $Revision: 1.12 $ $Date: 2025/11/27 06:32:02 $
7+
#' $Revision: 1.13 $ $Date: 2025/11/27 07:50:47 $
88
#'
99

1010
divide.linnet <- local({
@@ -148,12 +148,12 @@ intersect.lintess <- function(X, Y) {
148148
return(out)
149149
}
150150

151-
traceTessLinnet <- function(A, L, reltol) {
151+
traceTessLinnet <- function(A, L, epsfrac) {
152152
## linear tessellation on network L induced by 2D tessellation A
153153
stopifnot(is.tess(A))
154154
stopifnot(is.linnet(L))
155-
## relative tolerance for close points
156-
if(missing(reltol)) reltol <- .Machine$double.eps
155+
## relative threshold defining whether two points are different
156+
if(missing(epsfrac)) epsfrac <- .Machine$double.eps
157157
## extract tiles as polygons
158158
til <- solapply(tiles(A), as.polygonal)
159159
ntil <- length(til)
@@ -175,10 +175,10 @@ traceTessLinnet <- function(A, L, reltol) {
175175
## determine crossing points
176176
xing2D <- unique(crossing.psp(edg, lin))
177177
xingL <- as.lpp(xing2D, L=L)
178-
if(reltol > 0 && npoints(xingL) >= 2) {
178+
if(epsfrac > 0 && npoints(xingL) >= 2) {
179179
## remove very close pairs of points that lie on the same segment
180180
## (which usually arise from numerical error)
181-
thresh <- reltol * diameter(Frame(A))
181+
thresh <- epsfrac * diameter(Frame(A))
182182
if(minnndist(xing2D) <= thresh) {
183183
## find close pairs in 2D
184184
cl <- closepairs(xing2D, thresh, twice=FALSE)

inst/doc/packagesizes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ date version nhelpfiles nobjects ndatasets Rlines srclines
4141
"2025-07-24" "3.3-0" 150 328 0 13326 3270
4242
"2025-07-24" "3.3-1" 150 328 0 13326 3270
4343
"2025-09-24" "3.3-2" 150 328 0 13356 3270
44-
"2025-11-27" "3.3-2.029" 158 366 0 14805 3270
44+
"2025-11-27" "3.3-2.030" 158 366 0 14805 3270

inst/info/packagesizes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ date version nhelpfiles nobjects ndatasets Rlines srclines
4141
"2025-07-24" "3.3-0" 150 328 0 13326 3270
4242
"2025-07-24" "3.3-1" 150 328 0 13326 3270
4343
"2025-09-24" "3.3-2" 150 328 0 13356 3270
44-
"2025-11-27" "3.3-2.029" 158 366 0 14805 3270
44+
"2025-11-27" "3.3-2.030" 158 366 0 14805 3270

man/spatstat.linnet-internal.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ qkdeEngine(x, sigma, \dots, at, what,
226226
%NAMESPACE S3method("Summary", "linimlist")
227227
LinimOp(e1, e2, op)
228228
LinimListOp(e1, e2, op)
229-
traceTessLinnet(A, L, reltol)
229+
traceTessLinnet(A, L, epsfrac)
230230

231231
}
232232
\details{

0 commit comments

Comments
 (0)