empty_graph¶
-
menpo.shape.empty_graph(shape, return_pointgraph=True)[source]¶ Returns an empty graph given the landmarks configuration of a shape instance.
- Parameters
shape (
PointCloudor subclass) – The shape instance that defines the landmarks configuration based on which the graph will be created.return_pointgraph (bool, optional) – If
True, then aPointUndirectedGraphinstance will be returned. IfFalse, then anUndirectedGraphinstance will be returned.
- Returns
graph (
UndirectedGraphorPointUndirectedGraph) – The generated graph.