FUNCTION consistent_sizes

(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/AP242
FUNCTION consistent_sizes
      (max : INTEGER;
       point_lists : LIST OF point_cloud_dataset ) : BOOLEAN;
   LOCAL
      ndatasets : INTEGER := SIZEOF(point_lists);
      result : BOOLEAN := TRUE;
   END_LOCAL;
      REPEAT i := 1 TO ndatasets - 1;
         IF SIZEOF(point_lists[i].point_coordinates) <> max THEN
            result := FALSE;
            RETURN (result);
         END_IF;
      END_REPEAT;
      IF SIZEOF(point_lists[ndatasets].point_coordinates) > max THEN
         result := FALSE;
         RETURN (result);
      END_IF;
      RETURN (result);
END_FUNCTION;

Referenced By

Defintion consistent_sizes is references by the following definitions:
DefinitionType
 point_cloud_superdataset ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00