inst/tests/test_R_resid.R

# require(EBSpatCGAL)

# del2 <- Delaunay()

# insert(del2,matrix(runif(200,-350,350),ncol=2))

#lc <- GNZCache(list(del2~Del2(Th[1]*(l<=20)+Th[2]*(20<l & l<=80)) , substitute(del2(l<=20)), substitute(del2(20<l & l<=80))))
resid <- Resid(del2~Del2(Th[1]*(l<=20)+Th[2]*(20<l & l<=80)) ,1,del2(l<=20), del2(20<l & l<=80),
			runs=10000L,
			domain=Domain(c(-250,-250),c(250,250))
		)

run(resid,Th=c(2,4),Single=2)
rcqls/EBSpatCGAL documentation built on July 30, 2023, 11:12 p.m.