# check_trilist¶

menpofit.checks.check_trilist(shape, transform)[source]

Checks that the provided shape is triangulated (thus an isntance of menpo.shape.TriMesh) and the transform is menpo.transform.PiecewiseAffine

Parameters
• shape (menpo.shape.TriMesh) – The input shape (usually the reference/mean shape of a model).

• transform (menpo.transform.PiecewiseAffine) – The transform object.

Raises

Warning – The given images do not have an explicit triangulation applied. A Delaunay Triangulation will be computed and used for warping. This may be suboptimal and cause warping artifacts.