Overview Schemas Index

INERTIA_CHARACTERISTICS_MIM (jsdai.SInertia_characteristics_mim)


RULE restrict_centre_of_mass_representation FOR (representation);

WHERE
          wr1: SIZEOF ( QUERY  ( r <* representation | 
          ( r.name ='centre of mass' ) AND  
          ( ( SIZEOF ( r.items ) <>1 ) OR 
          (SIZEOF ( QUERY ( i <* r.items | 
          ( 'GEOMETRY_SCHEMA.' + 'POINT' IN TYPEOF ( i ) ) AND 
          ( i.name = 'centre point' ) )) <>1 ) ) ) ) 
          =0;
END_RULE; -- restrict_centre_of_mass_representation

public class RRestrict_centre_of_mass_representation
          public int rWr1(SdaiContext _context)
          public int run(SdaiContext _context, A_string violations)