IarcCS.Te.onesixth {pcds} | R Documentation |
The indicator for the presence of an arc from a point to another for Central Similarity Proximity Catch Digraphs (CS-PCDs) - first one-sixth of the standard equilateral triangle case
Description
Returns p2
is in for points
p1
and p2
,
that is, returns 1 if p2
is in ,
returns 0 otherwise, where
is the CS proximity region for point
with expansion parameter
.
CS proximity region is defined with respect to the standard equilateral triangle
and edge regions are based on the center of mass
.
Here
p1
must lie in the first one-sixth of , which is the triangle with vertices
.
If
p1
and p2
are distinct and p1
is outside of or
p2
is outside , it returns 0,
but if they are identical, then it returns 1 regardless of their locations (i.e., it allows loops).
Usage
IarcCS.Te.onesixth(p1, p2)
Arguments
p1 |
A 2D point whose CS proximity region is constructed. |
p2 |
A 2D point. The function determines whether |
Value
p2
is in for
p1
in the first one-sixth of ,
, that is, returns 1 if
p2
is in , returns 0 otherwise
Author(s)
Elvan Ceyhan