Management knots

Top 

This function simplifies pipelines in interchanges. In addition the intersection with zentrisch is calculated for every management going off in a knot around the knots recumbent surface of a circle. The radius is a user default. Then the management segment inside lying to the surface of a circle is substituted by Just by the interchange to the intersection. If a management polygon beginning in the knot within the circle ends, a line pursuit is activated to the determination of the intersection. This stops with determination of the first point lying beyond the circle, with the achievement of a symbolic point or an interchange of the degree 3 (3 outgoing pipelines). In the last both cases these points define the terminator point of the straight lines, then the straight line connection does not end on the edge of the circle. Cuts with building sides can originate from the simplification of a management. Optionally the list of the building keys can be given to the function. Then a collision with a building side is recognised. To the avoidance the terminator point lying on the management of the straight lines as long as is shifted gradually along the management course in the direction of the interchange (Just becomes i.a. shorter), until no more cuts with building sides appear any more.

 

Condition

The relevant data must be selected.

 

Parametre

Radius / <n.n>

Radius of a circle in metres. This parametre is the only obligate parametre of the function. If only this parametre is given, all symbols of the selection amount are interchanges to be worked on and the string the simplifying pipelines.

KNOKEYS/<N, n>

KNOSYM/<N, n>

Definition of the interchanges to be worked on above a list of the object keys or alternatively above a list of the symbolic numbers. With information of this parametre the algorithm of the function changes: Lying on the management in the inside of a circle in interchanges of the degree 2 (two outgoing lines) other symbols, these are looked as connecting sleeves and are extinguished. This behaviour must be switched off explicitly.

/NODELETE

No symbols are extinguished.

LTGKEYS/<N, n>

Definition of the pipelines to be worked on above a list of the object keys.

GEBKEYS/<N, n>

Definition of the buildings above a list of the object keys for the conflict supervision.

Tap dance / <n.n>

Step width to the conflict avoidance in metres. Values are practical in the interval [0.1, 0.5]. Small values prove longer simplification straight lines with however increasing term. The Defaultwert is 0.25.

ADDPKT/<n.n>

If this parametre is given, are inserted in the straight line connections, outgoing from the interchange, interpoints with this distance. The unity of this parametre is a metre.

 

Return value

Value

Description

0

Call was carried out successfully

But

Mistake appeared

 

 

 

 

Example

Management knots radius / 20.0 knokeys / 5,011,5,100,5,200,5,300,5400 addpkt / 8.0 ltgkeys / 5,820,6020 gebkeys / 1,700,1,705,17,105,1240 step / 0.2