Returns \(I(p_2 \in N_{PE}(p_1,r))\) for points \(p_1\) and \(p_2\), that is, returns 1 if \(p_2\) is in \(N_{PE}(p_1,r)\), returns 0
otherwise, where \(N_{PE}(x,r)\) is the PE proximity region for point \(x\) with expansion parameter \(r \ge 1\)
for the region outside the interval \((a,b)\).
rv
is the index of the end vertex region \(p_1\) resides, with default=NULL
,
and rv=1
for left end-interval and rv=2
for the right end-interval.
If \(p_1\) and \(p_2\) are distinct and either of them are inside interval int
, it returns 0,
but if they are identical, then it returns 1 regardless of their locations (i.e., it allows loops).
See also (ceyhan:metrika-2012;textualpcds).