Nothing
touchstep.delaunay<-function(node,curroot,boundrec,child,sibling,infopointer,
low,upp,dendat,complex)
{
# Checks whether "node" touches some of the leafs of the branch whose
# root is "curroot". Goes through the branch starting at "curroot".
# "comprec" is associated with the "node"
# "currec" is the bounding box of "cur"
# "pointrec" is associated with "cur"
d<-length(low[1,])
note<-infopointer[node] #nodefinder[infopointer[node]]
comprec<-complex[note,]
itemnum<-length(child)
pino<-matrix(0,itemnum,1)
potetouch<-1
istouch<-0
pino[1]<-curroot
pinin<-1
while ((pinin>0) && (istouch==0)){
cur<-pino[pinin] #take from stack
pinin<-pinin-1
# create currec and pointrec
currec<-boundrec[cur,]
note<-infopointer[cur] #nodefinder[infopointer[cur]]
pointrec<-complex[note,]
# find touches
potetouch<-touchi.dela(comprec,currec,cate="rec",dendat)
istouch<-touchi.dela(comprec,pointrec,cate="simplex",dendat)
# put to the stack
if (sibling[cur]>0){
pinin<-pinin+1
pino[pinin]<-sibling[cur]
}
# go to left and put right nodes to the stack
while ((child[cur]>0) && (istouch==0) && (potetouch==1)){
cur<-child[cur]
# create currec and pointrec
currec<-boundrec[cur,]
note<-infopointer[cur] #nodefinder[infopointer[cur]]
pointrec<-complex[note,]
# find touches
potetouch<-touchi.dela(comprec,currec,cate="rec",dendat)
istouch<-touchi.dela(comprec,pointrec,cate="simplex",dendat)
if (sibling[cur]>0){
pinin<-pinin+1
pino[pinin]<-sibling[cur]
}
}
}
return(istouch)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.