5.67. TabJoint (element)

<tabjoint> ‐ A table of joints in a graph (a physical system)

5.67.1. Attributes

NameTypeDefaults
sizeINTEGERNone (required)

5.67.2. Description

This element defines a table of joints (circular springs) in a graph, a set of masses connected by edges.

The integer value size of the size attribute defines the number of joints contained in the table of joints. This element expects size joints in its scope.

5.67.3. Expected children

The following elements must occur in tabjoint: as many joints as the value of the size attribute.

5.67.4. Example

The example below defines a tabjoint with two joints.

<tabjoint size="2">
           <joint index="1" ini="2" end="1" period="1.0" 
                           strength="1.0" slope="1.0" 
                           angleIni="-60" />
           <joint index="2" ini="4" end="3" period="1.0" 
                           strength="1.0" slope="1.0" 
                           angleIni="-60" />
</tabjoint>