Using Points in C Functions
Both regular points (bound to a fixed robot-type) and generic points can be passed as arguments to C functions. In addition, both types of points can also serve as C function parameters, differing in PROTO.PRO prototypes, but shareing identical C prototypes.
PROTO.PRO PROTOTYPES FOR FIXED ROBOT-TYPE POINTS
IMPORT_C CFUNC_PNT1(ByVal As Joint Of XYZ) As Joint Of XYZ IMPORT_C CFUNC_PNT2(As Location Of XYZR, As Location[*] Of XYZR)
PROTO.PRO PROTOTYPES FOR GENERIC POINTS
IMPORT_C CFUNC_GEN_PNT1(ByVal As Generic Joint) As Generic Joint IMPORT_C CFUNC_GEN_PNT2(As Generic Location, As Generic Location[*])