|
FUNCTION get_geometric_model (input : item_shape) : SET [0:?] OF shape_representation; LOCAL sda : SET OF shape_description_association := [ ] ; gm : SET OF shape_representation := [ ] ; END_LOCAL ; sda := bag_to_set ( USEDIN ( input , 'shape_property_assignment_xim.' + 'shape_description_association.' + 'represented_characteristic' ) ) ; REPEAT i := 1 TO SIZEOF ( sda ) BY 1 ; gm := gm + sda [ i ] . representation ; END_REPEAT ; RETURN ( gm ) ; END_FUNCTION; -- get_geometric_model |
|
public class FGet_geometric_model public static Value run(SdaiContext _context, Value input) |