Network Distance Overlay: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
* The [[Height offset (Function Value)|height offset]] of [[Construction]]s. This dictates the base of the [[Construction]].
* The [[Height offset (Function Value)|height offset]] of [[Construction]]s. This dictates the base of the [[Construction]].
* The [[Basement height m (Function Value)|basement depth]] and the [[Depth of plant roots (Function Value)|root depth]] of [[Construction]]s added together. This makes the [[Construction]] deeper than its base.
* The [[Basement height m (Function Value)|basement depth]] and the [[Depth of plant roots (Function Value)|root depth]] of [[Construction]]s added together. This makes the [[Construction]] deeper than its base.
* The [[Floor height m (Function Value)|floor height]] of [[Construction]]s, multiplied by its amount of floors. This makes the [[Construction]] higher than its base.
* In case the construction is an underground building, the [[Floor height m (Function Value)|floor height]] of [[Construction]]s, multiplied by its amount of floors.


If the [[Net line]]'s height passes through the extent of the [[Construction]], the distance is computed as 0. Otherwise, the distance between either the top or the bottom of the [[Construction]] is used.
The [[Net line]] is modeled as a cylinder, defined by its two end points and a diameter. The end points z-coordinate define the depth of the net line. The parameter [[Diameter m]] is used for the diameter of the net line, which is defined in either the Net line definition or the Net line itself. If the [[Net line]]'s height passes through the extent of the [[Construction]], the computed distance is 0. Otherwise, the distance between either the top or the bottom of the [[Construction]] is used.


{{article end
{{article end

Revision as of 09:41, 16 March 2021

This functionality is currently in BETA.
Read more about Beta features.
The Network Distance Overlay showing how much distance there is between Constructions and underground Net lines.

The Network Distance Overlay is a Grid Overlay which displays the distance (if any) between underground Net lines and Constructions which extend into the underground.

For each Grid cell, the depth of the Net line is compared to the presence of underground Constructions, and Constructions which are present in the underground. If a conflict is possible in a specific cell, the computed value for that cell is the smallest distance between any Net line and any Construction.

Distance calculation

Net lines are checked for distance against both Constructions above ground and Constructions below ground. This is done based on the Function Values the Construction has. The following details dictate the exact extent of the Construction in the underground for testing distance:

The Net line is modeled as a cylinder, defined by its two end points and a diameter. The end points z-coordinate define the depth of the net line. The parameter Diameter m is used for the diameter of the net line, which is defined in either the Net line definition or the Net line itself. If the Net line's height passes through the extent of the Construction, the computed distance is 0. Otherwise, the distance between either the top or the bottom of the Construction is used.

Notes

See also