Test if two vertices are connected by edge
tf = isConnected(TR,vstart,vend)
tf = isConnected(TR,E)
returns
a tf
= isConnected(TR
,vstart
,vend
)logical
array of true
or false
values
that indicate whether the specified pairs of vertices are connected
by an edge. Element tf(j)
is true
when
the vertices, vstart(j)
and vend(j)
,
are connected by an edge.
specifies
the edge start and end indices in matrix tf
= isConnected(TR
,E
)E
. Element tf(j)
is true
when
the vertices, E(j,1)
and E(j,2)
,
are connected by an edge.
 Triangulation representation, see 

IDs of start vertices, specified as a column vector. Each vertex ID refers to a vertex at the start of an edge. 

IDs of end vertices, specified as a column vector. Each vertex ID refers to a vertex at the end of an edge. 

IDs of the edge vertices, specified as a twocolumn matrix.
Each row of


Logical values, returned as a column vector. Element
Otherwise, 