inside_region#

TreeRegionMagnet.inside_region(region, include_entity_overlap=True)#

Check whether the specified region is inside self.

Parameters:
regionansys.motorcad.core.geometry.Region

Motor-CAD region object

include_entity_overlapbool

Whether to consider regions that overlap to be inside each other. If False, then only regions that are fully contained will be considered inside.

Returns:
bool

True if region is inside self, False otherwise.