|
FUNCTION msb_shells (brep : manifold_solid_brep) : SET [1:?] OF closed_shell; LOCAL return_set : SET [ 1 : ? ] OF closed_shell := [ brep . outer ] ; END_LOCAL ; IF SIZEOF ( QUERY ( msbtype <* TYPEOF ( brep ) | msbtype LIKE '*brep_with_voids' ) ) >= 1 THEN return_set := return_set + brep \ brep_with_voids . voids ; END_IF ; RETURN ( return_set ) ; END_FUNCTION; -- msb_shells |
|
public class FMsb_shells public static Value run(SdaiContext _context, Value brep) |