Overview Schemas Index

AP210_ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN_MIM (jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_mim)


FUNCTION valid_2d_wireframe_edge_curve
          (crv : curve, schma : STRING) : BOOLEAN;

 IF  SIZEOF ( [ schma + '.line' , schma + '.b_spline_curve' , schma + '.circle' , schma + '.hyperbola' , schma + '.ellipse' , schma + '.parabola' , schma + '.polyline' ] * TYPEOF  ( crv ) ) = 1 THEN  RETURN  ( TRUE ) ; ELSE  IF  ( schma + '.curve_replica' ) IN  TYPEOF  ( crv ) THEN  RETURN  ( valid_2d_wireframe_edge_curve ( crv \ curve_replica . parent_curve , schma ) ) ; ELSE IF ( schma + '.offset_curve_2d' ) IN TYPEOF ( crv ) THEN RETURN  ( valid_2d_wireframe_edge_curve ( crv \ offset_curve_2d . basis_curve , schma ) ) ; END_IF  ; END_IF  ; END_IF ; RETURN ( FALSE ) ; 

END_FUNCTION; -- valid_2d_wireframe_edge_curve

public class FValid_2d_wireframe_edge_curve
          public static Value run(SdaiContext _context, Value crv, Value schma)