getTriangleList (cv.Subdiv2D) - MATLAB File Help |
Returns a list of all triangles
triangleList = obj.getTriangleList()
{[p1x,p1y, p2x,p2y, p3x,p3y], ...}
.The function gives each triangle as a 6 numbers vector, where
each two are one of the triangle vertices. i.e. p1_x = v[0]
,
p1_y = v[1]
, p2_x = v[2]
, p2_y = v[3]
, p3_x = v[4]
,
p3_y = v[5]
.
Access | public |
Sealed | false |
Static | false |