TopoPolygon

A TopoPolygon is a topological Polygon item that stores data regarding its topological relationship with other topological items, whose boundaries are made up of a series of connected Link items.

A TopoPolygon item is a Seed item upon which the definition of a topological polygon is stored. Since all of the data held by the TopoPolygon item is stored on its base Seed, TopoPolygon items are sometimes called Seed-Area items.

The seed point itself is often 'Blank' and not displayed. If it is not blank then it can be anywhere within the rectangular extents of the TopoPolygon. Commands that create TopoPolygon items try to position the seed point so that it lies inside the TopoPolygon itself (even when the TopoPolygon is horse-shoe shaped).

Properties

Item Properties


Properties

A list of integers describing the Link items used by this Node, TopoPolygon or TopoLineString item.

Node:

A space-separated list of integers representing the Item IDs of links connected to this node.

A positive value indicates a link entering the node. A negative value indicates a link leaving the node.

e.g. -70 71 -79 80

TopoLineString:

A space-separated list of integers representing the Item IDs of links which constitute this TopoLineString.

The first integer is always 1. The second integer represents the number of links which constitute the TopoLineString. Subsequent integers represent the Item IDs of the links themselves. A negative integer means the direction along the link is opposite to the sense in which it is constructed.

e.g. 1 6 195 -183 161 -187 197 -189

TopoPolygon:

A space-separated list of integers representing the Item IDs of links which constitute this TopoPolygon.

The first integer is the number of loops in the TopoPolygon. The second integer represents the number of links in the first or only loop. This is followed by the Item IDs of the links which constitute the first or only loop. Any remaining integers represent further sets of “number of links/Item IDs”.  There are as many “number of links/Item IDs” sets as there are loops in the TopoPolygon. A negative integer means the direction of the TopoPolygon boundary along the link is opposite to the sense in which the link is constructed.

e.g. 3 3 238 -226 -224 4 235 218 -188 214 2 -194 -203


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).