next up previous contents index
Next: \simple_arrow Up: Arrow operators Previous: \push_arrow   Contents   Index

Subsections


\repeat_arrow

Description 

\repeat_arrow allows to draw the Origami symbol to repeat some folds or steps. It commonly looks like a simple straight arrow with little lines which represent the number of times folder has to repeat. It may also contain references to steps defining all folding actions to repeat. Those references are called labels and they should been defined using the special operator \label (see cf. § [*]). If labels are provided, they are substituted by the number of corresponding steps and a box containing both step numbers is attached to the arrow.
WARNING: As the label and vertex identifiers belong to two different symbol tables, user can use a same identifier for both a vertex and a label. Nevertheless, such usage can be confusing.
The main parameter is the pointed vertex which determines the location of the arrow in the step. The repeating number and/or labels are the following parameters. Finally, as in the case of the \push_arrow (see cf. §[*]) user can specify an orientation angle and a distance from the pointed vertex to adjust the arrow positioning.
This operator should only appear within a step block.

Figure: Left: Simple case of usage of \repeat_arrow. Arrow definition only uses the middle of the bottom side of the square. As the lower half part of the square has been shift to make the diagram more realistic, the arrow orientation isn't vertical, it follows the direction of the center of the square.
Right: This figure presents a repeat actionn of severals steps. Previous steps (19 to 21) have performed on the right part of the diamond a rabbit ear, a squash fold followed by a petal fold. The repeat arrow says that those folds have to be made on the left side.
\includegraphics[]{figures/repeat_arrow1}\includegraphics[]{figures/repeat_arrow2}

Usage

  \repeat_arrow(b, 2, 45, 3) %  
  \repeat_arrow(b);          % the simplest form !
  \repeat_arrow(b, startRepeat, endRepeat); % using two labels

Formal structure

  \repeat_arrow(VERTEX, NUMBER, ANGLE, DISTANCE);
  \repeat_arrow(VERTEX, NUMBER, ANGLE);
  \repeat_arrow(VERTEX, NUMBER);
  \repeat_arrow(VERTEX);
  \repeat_arrow(VERTEX, LABEL1, LABEL2, NUMBER, ANGLE, DISTANCE);
  \repeat_arrow(VERTEX, LABEL1, LABEL2, NUMBER, ANGLE);
  \repeat_arrow(VERTEX, LABEL1, LABEL2, NUMBER);
  \repeat_arrow(VERTEX, LABEL1, LABEL2);

Parameters

  VERTEX
  Description    : Indicates the name of vertex pointed by the arrow. 
  Type           : Symbol, vertex identifier.
  Allowed values : Any vertex identifier previously defined.

  NUMBER (optional)
  Description    : Indicates the number of time to repeat.
  Type           : Positive non-null integer.
  Allowed values : Any positive non-null integer.
  Default value  : Computed according to VERTEX.

  LABEL1
  Description    : Indicates the label symbol used to refer 
                   the beginning step to repeat. 
  Type           : Symbol, label identifier.
  Allowed values : Any label identifier previously defined.

  LABEL2
  Description    : Indicates the label symbol used to refer 
                   the end step to repeat. 
  Type           : Symbol, label identifier.
  Allowed values : Any label 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: \simple_arrow Up: Arrow operators Previous: \push_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