FUNCTION volume_weights_positive

(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/AP242
FUNCTION volume_weights_positive
      (b : rational_b_spline_volume ) : BOOLEAN;
   LOCAL
      result : BOOLEAN := TRUE;
   END_LOCAL;
      REPEAT i := 0 TO b.u_upper;
         REPEAT j := 0 TO b.v_upper;
            REPEAT k := 0 TO b.w_upper;
               IF b.weights[i][j][k] <= 0.0 THEN
                  result := FALSE;
                  RETURN (result);
               END_IF;
            END_REPEAT;
         END_REPEAT;
      END_REPEAT;
      RETURN (result);
END_FUNCTION;

Referenced By

Defintion volume_weights_positive is references by the following definitions:
DefinitionType
 rational_b_spline_volume ENTITY


[Top Level Definitions] [Exit]

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