FUNCTION valid_wireframe_edge_curve

(* SCHEMA step_merged_ap_schema; *)
-- IN AP203e2/AP214/AP232/AP238 STEP-NC/AP242
FUNCTION valid_wireframe_edge_curve
      (crv : curve ) : BOOLEAN;
      IF SIZEOF([ 'STEP_MERGED_AP_SCHEMA.LINE', 'STEP_MERGED_AP_SCHEMA.CONIC', 'STEP_MERGED_AP_SCHEMA.B_SPLINE_CURVE', 'STEP_MERGED_AP_SCHEMA.POLYLINE' ] * TYPEOF(crv)) = 1 THEN
         RETURN (TRUE);
      ELSE
         IF 'STEP_MERGED_AP_SCHEMA.CURVE_REPLICA' IN TYPEOF(crv) THEN
            RETURN (valid_wireframe_edge_curve(crv\curve_replica.parent_curve));
         ELSE
            IF 'STEP_MERGED_AP_SCHEMA.OFFSET_CURVE_3D' IN TYPEOF(crv) THEN
               RETURN (valid_wireframe_edge_curve(crv\offset_curve_3d.basis_curve));
            END_IF;
         END_IF;
      END_IF;
      RETURN (FALSE);
END_FUNCTION;

Referenced By

Defintion valid_wireframe_edge_curve is references by the following definitions:
DefinitionType
 edge_based_wireframe_shape_representation ENTITY
 shell_based_wireframe_shape_representation ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00