next up previous contents index
Next: \repeat_arrow Up: Arrow operators Previous: \open_arrow   Contents   Index

Subsections


\push_arrow

Description 

\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.

Figure: Two simple uses of the \push_arrow operator. This figure presents two push actions the folder has to do when he does a reverse fold.
\includegraphics[]{figures/push_arrow}

Usage

  \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

Formal structure

  \push_arrow(VERTEX, ANGLE, DISTANCE);
  \push_arrow(VERTEX, ANGLE);
  \push_arrow(VERTEX);

Parameters

  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.


next up previous contents index
Next: \repeat_arrow Up: Arrow operators Previous: \open_arrow   Contents   Index
Doodle reference manual HTML version generated using LaTeX2HTML by Jérôme Gout, 2001-10-29
Doodle is hosted by Sourceforge, go to SourceForge Logo for more information
©2000-2001 Doodle