Overview Schemas Index

GEOMETRY_SCHEMA (jsdai.SGeometry_schema)


FUNCTION build_2axes
          (ref_direction : direction) : LIST [2:2] OF direction;

LOCAL
     d : direction := NVL(normalise(ref_direction),
                          dummy_gri || direction([1.0,0.0]));
   END_LOCAL;

   RETURN([d, orthogonal_complement(d)]);

END_FUNCTION; -- build_2axes

public class FBuild_2axes
          public static Value run(SdaiContext _context, Value ref_direction)