inside_region#
- TreeRegionMagnet.inside_region(region, include_entity_overlap=True)#
Check whether the specified region is inside self.
- Parameters:
- region
ansys.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.
- region
- Returns:
- bool
True if region is inside self, False otherwise.