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:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00