Asymptote/Command/plain/Relative

From Wikibooks, open books for an open world
Jump to: navigation, search

side Relative(explicit pair align);[edit]

side Leftside= Relative(W);
side Center=Relative((0,0))
side RightSide=Relative(E);

position Relative(real position);[edit]

The position Relative(real) specifies a location relative to the total arclength of the path. These convenient abbreviations are predefined:

position BeginPoint=Relative(0);
position MidPoint=Relative(0.5);
position EndPoint=Relative(1);