next up previous contents index
Next: \fraction Up: Geometrical operators Previous: Geometrical operators   Contents   Index

Subsections

Vertex cloning

This operation is not properly an operator (in the functional sense) but rather an operation in the arithmetic sense. Indeed, It can be sometimes helpful to duplicate a vertex to save its coordinates or when vertices share a position. Applying this cloning operation has the effect to create a new vertex (left-hand operand of operation) with the internal data of the right-hand operand (physical coordinates and shifting values). The name of this new vertex is set according to the symbol used in the operation (left-hand operand). Of course this name shouldn't be already used for an existing vertex.
This operator should only appear within a step block.

Usage

  aa = a; % aa is defined as the a clone

Formal structure

  RETURN_VERTEX = VERTEX;

Parameters

  VERTEX
  Description    : Indicates the vertex which is cloned.
  Type           : Symbol, vertex identifier.
  Allowed values : Any vertex identifier previously defined.

Return value

  RETURN_VERTEX
  Description    : Symbol reference of the new vertex created as
                   the clone of VERTEX.
  Type           : Symbol, vertex identifier.
  Allowed values : Any vertex identifier not already defined.



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