FUNCTION gbsf_check_point

(* 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 gbsf_check_point
      (pnt : point ) : BOOLEAN;
      IF 'STEP_MERGED_AP_SCHEMA.CARTESIAN_POINT' IN TYPEOF(pnt) THEN
         RETURN (FALSE);
      ELSE
         IF 'STEP_MERGED_AP_SCHEMA.POINT_ON_CURVE' IN TYPEOF(pnt) THEN
            RETURN (gbsf_check_curve(pnt\point_on_curve.basis_curve));
         ELSE
            IF 'STEP_MERGED_AP_SCHEMA.POINT_ON_SURFACE' IN TYPEOF(pnt) THEN
               RETURN (gbsf_check_surface(pnt\point_on_surface.basis_surface));
            ELSE
               IF 'STEP_MERGED_AP_SCHEMA.DEGENERATE_PCURVE' IN TYPEOF(pnt) THEN
                  RETURN (gbsf_check_curve(pnt\degenerate_pcurve.reference_to_curve\representation.items[1]) AND gbsf_check_surface(pnt\degenerate_pcurve.basis_surface));
               END_IF;
            END_IF;
         END_IF;
      END_IF;
      RETURN (FALSE);
END_FUNCTION;

Referenced By

Defintion gbsf_check_point is references by the following definitions:
DefinitionType
 geometrically_bounded_surface_shape_representation ENTITY


[Top Level Definitions] [Exit]

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