Query interior points of Delaunay triangulation
TF = isInterior(
returns a column
vector of logical values that indicate whether the triangles in a 2-D constrained
Delaunay triangulation are inside a bounded geometric domain. An element of
DT
)TF
is 1 (true
) when the corresponding
triangle in DT
is inside the domain and 0
(false
) otherwise.
isInterior
can produce incorrect or inconsistent results
when boundary constraints intersect or overlap. To avoid this behavior, use
constraints that form one or multiple closed boundaries that do not intersect or
overlap. When boundary constraints are nested without intersections or overlaps,
the inside or outside status alternates across the boundaries.