getTriangleList (cv.Subdiv2D) - MATLAB File Help
cv.Subdiv2D/getTriangleList

Returns a list of all triangles

triangleList = obj.getTriangleList()

Output

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].

See also
Method Details
Access public
Sealed false
Static false