PathHints Class

class plask.geometry.PathHints

Hint used for resolving ambiguities in a geometry tree.

PathHints is used to resolve ambiguities if any object is present in the geometry tree more than once. It contains a set of PathHint objects holding weak references to containers and their items.

Methods

add(hint)

Append hint to the path.

cleanup()

Remove all hints which refer to deleted objects.

Descriptions

Method Details

PathHints.add(hint)

Append hint to the path.

Parameters:

hint (PathHint) – Hint to add.

PathHints.cleanup()

Remove all hints which refer to deleted objects.