FUNCTION curve_weights_positive

(* SCHEMA integrated_cnc_schema; *)
FUNCTION curve_weights_positive (
    b : rational_b_spline_curve 
    ) : BOOLEAN;
  LOCAL
    result : BOOLEAN := TRUE;
  END_LOCAL;
    REPEAT i := 0 TO b.upper_index_on_control_points;
      IF b.weights[i] <= 0.0 THEN
        result := FALSE;
        RETURN (result);
      END_IF;
    END_REPEAT;
    RETURN (result);
END_FUNCTION; -- 10303-42: geometry_schema

Referenced By

Defintion curve_weights_positive is references by the following definitions:
DefinitionType
 rational_b_spline_curve ENTITY


[Top Level Definitions]

Generated by STEP ToolsTM EXPRESS to HTML Converter
on 2010-01-12T10:42:25-02:00