Command: zone

Syntax

{<entity> = } zone <offsets> {
    <pcommand>
    ...
}

Description

Create one or more polygon graphic entities forming a buffer zone from a series of center-lines.

Parameters

Switches

Notes

This command creates one or more graphic entities of type polygon.

Donut shapes produced by the buffer zone will be resolved correctly and may produce hole polygons.

Polygons which reduce to a line for one reason or another are ignored.

All polygons created (including holes and islands) by a zone command form the contents of the group these.

During vertex definition, a point phrase beginning with @ will indicate a move of the graphic control position without creating an arm of the buffer zone polygon. Thus disjoint buffer zones can be produced.

The system numeric found records the number of polygons created by the zone command. Holes and islands are excluded from the count.

Examples:

Create a buffer zone from a single line.

zone 50, -ap=32 {
   gc, e:500
}

Create a complex buffer zone (the vertices are defined interactively).

plan
zone 700, -col=green, -fil=yellow {
   pseries; # Command
   r; # Point phrase "return to start"
}

Create a named conic buffer zone.

entity conezone = zone <0,500>,-v {
   gc, pcur
}

See Also

Commands:

ebuffer, entity, gstructure, point, polyclip, polygon, prism

Identifiers:

def_color (color), def_fragment (numeric), def_ls (linestyle), def_rank (numeric), these (group)

Structures:

entity (polygon)