FUNCTION valid_wireframe_edge_curve

(* SCHEMA AUTOMOTIVE_DESIGN; *)
 
FUNCTION valid_wireframe_edge_curve(crv : curve) : BOOLEAN;
  IF SIZEOF(['AUTOMOTIVE_DESIGN.LINE', 'AUTOMOTIVE_DESIGN.CONIC', 
  'AUTOMOTIVE_DESIGN.B_SPLINE_CURVE', 'AUTOMOTIVE_DESIGN.POLYLINE'] * 
  TYPEOF(crv)) = 1 THEN
    RETURN (TRUE);
  ELSE
    IF 'AUTOMOTIVE_DESIGN.CURVE_REPLICA' IN TYPEOF(crv) THEN
      RETURN (valid_wireframe_edge_curve(crv\curve_replica.parent_curve));
    ELSE
      IF 'AUTOMOTIVE_DESIGN.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; (* declared in: aic_edge_based_wireframe *)

Referenced By

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


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2012-03-27T17:16:12-04:00