RhinoBrep.contains

RhinoBrep.contains(object)[source]

Check if the Brep contains a given geometric primitive.

Only closed and manifold breps can be checked for containment.

Parameters:
objectPoint, Curve, Surface

The object to check for containment.

Returns:
bool

True if the object is contained in the Brep, False otherwise.

Raises:
BrepError

If the Brep is not solid.