FUNCTION msf_surface_check
(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP214
-- DIFF IN AP203e2
-- DIFF IN AP238 STEP-NC
-- DIFF IN AP232
-- IN AP203e2/AP214/AP232/AP238 STEP-NC/AP242
FUNCTION msf_surface_check
(surf : surface ) : BOOLEAN;
IF 'STEP_MERGED_AP_SCHEMA.ELEMENTARY_SURFACE' IN TYPEOF(surf) THEN
RETURN (FALSE);
ELSE
IF 'STEP_MERGED_AP_SCHEMA.SWEPT_SURFACE' IN TYPEOF(surf) THEN
RETURN (msf_curve_check(surf\swept_surface.swept_curve));
ELSE
IF ('STEP_MERGED_AP_SCHEMA.OFFSET_SURFACE' IN TYPEOF(surf)) AND (surf\offset_surface.self_intersect = FALSE) OR (surf\offset_surface.self_intersect = FALSE) THEN
RETURN (msf_surface_check(surf\offset_surface.basis_surface));
ELSE
IF 'STEP_MERGED_AP_SCHEMA.SURFACE_REPLICA' IN TYPEOF(surf) THEN
RETURN (msf_surface_check(surf\surface_replica.parent_surface));
ELSE
IF ('STEP_MERGED_AP_SCHEMA.B_SPLINE_SURFACE' IN TYPEOF(surf)) AND (surf\b_spline_surface.self_intersect = FALSE) OR (surf\b_spline_surface.self_intersect = FALSE) THEN
RETURN (FALSE);
END_IF;
END_IF;
END_IF;
END_IF;
END_IF;
RETURN (FALSE);
END_FUNCTION;
Referenced By
Defintion msf_surface_check is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00