CategoryRule.comply

CategoryRule.comply(elements, max_distance=1e-06)[source]

Returns True if the provided elements comply with the rule defined by this instance. False otherwise.

Parameters:
elementslist(TimberElement)
Returns:
bool