64 EatWord(is,
"[",storage,
sizeof(storage));
66 if (
strcmp(storage,
"POINT")==0) {
73 return new Path_Point(startpos);
74 }
else if (
strcmp(storage,
"LINE")==0) {
86 return new Path_Line(startpos,endpos,orient.release(),eqradius);
87 }
else if (
strcmp(storage,
"CIRCLE")==0) {
115 }
else if (strcmp(storage,
"ROUNDEDCOMPOSITE")==0) {
128 for (i=0;i<size;i++) {
138 }
else if (
strcmp(storage,
"COMPOSITE")==0) {
141 scoped_ptr<Path_Composite> tr(
new Path_Composite() );
144 for (i=0;i<
size;i++) {
151 }
else if (
strcmp(storage,
"CYCLIC_CLOSED")==0) {
159 return new Path_Cyclic_Closed(tr.release(),times);
161 throw Error_MotionIO_Unexpected_Traj();