triangulatePolygonFromPaths¶
-
pyslm.support.
triangulatePolygonFromPaths
(exterior, interiors, triangle_args=None, **kwargs)¶ Given a list of exterior and interiors triangulation using a python interface to triangle.c
- Parameters:
exterior (
ndarray
) – Exterior boundaries of polygoninteriors (
List
[ndarray
]) – Interior boundaries of polygontriangle_args (
Optional
[str
]) – Passed to triangle.triangulate i.e: ‘p’, ‘pq30’kwargs –
- Returns:
Returns a tuple of vertices and faces