BOND
Prev | Chapter 2. XML elements and attributes | Next

## BOND

### Description

Level: 3rd or 4th

A Bond. Bonds are drawn in cylinders.

### Parent Elements

GLOBAL SCENE LOCAL

### Child Elements

nothing

### Attributes

See also the common attributes for primitives. Most options such as radius, color are described there.

pos0 (type:Point3D), pos1 (type:Point3D)

  Positions of two bonds temini. Both are REQUIRED only for the BOND element of the child element of the SCENE. In the LOCAL and GLOBAL, pos0 and pos1 are ignored.

exclude (abbr.:exc) (type:Int) = "0"

  If the value is greater than 0, the top and bottom faces are omitted. May not be used usually.

rounded (abbr.:round) (type:Int) = "1"

  If the value is greater than 0, the top and bottom faces are drawn in the half-sphere. This is the default. This default is somewhat costly, since many polygons are required in drawing half-spheres. If you want to reduce the number of polygons, please reset this value to 0.

dashed (abbr.:dash) (type:Int) = "0"

  If the value is greater than 0, the cylinder is drawn in (value + 1) dashes. Note that each dash except the terminus ones does not have both bottom and top faces. Terminus ones has only one of them.

  In the future versions, top and bottom faces will be added to the intermediate dashes.

Prev | Up | Next
ATOM | Home | RIBBON