\push_arrow operator draws a black filled arrow head which is the
common symbol to the push action on Origami diagrams. This operator
takes three parameters. First one is the vertex name on which the
arrow is directed. Next, we find the arrow orientation angle expressed
in degrees. This angle is absolute, this means that user doesn't have
to bother with previous rotations applied on the model when he defines
this orientation value. The last parameter is the distance expressed
in millimeters between the arrow and the pointed vertex. Negative
values are allowed for convenience. Both last parameters are
optional. If the distance parameter is omitted the value will be
0. Concerning the orientation angle default value, as a particular
value like 0 has no sense the approach is to compute this missing
value. The computation of the orientation is made such as the arrow is
in the direction of the center of the step. The center of the step is
the intersection point of both diagonals of the initial square (or
diamond).
This operator should only appear within a step block.
|
\push_arrow(a, 135, 1); % full detailed usage \push_arrow(b, 45); % the arrow touches 'b' \push_arrow(b); % the same as above but shorter
\push_arrow(VERTEX, ANGLE, DISTANCE); \push_arrow(VERTEX, ANGLE); \push_arrow(VERTEX);
VERTEX Description : Indicates the name of vertex pointed by the arrow. Type : Symbol, vertex identifier. Allowed values : Any vertex identifier previously defined. ANGLE (optional) Description : Indicates the arrow orientation angle in degrees. Type : Integer. Allowed values : Any integer value in range [-180, 180]. Default value : Computed according to VERTEX. DISTANCE (optional) Description : Indicates the distance between VERTEX and arrow. Type : Integer. Allowed values : Any integer value. Default value : 0.