Interface IBrowser
Last update: 09.03.2026Namespace: OpenTD.Results.Dataset
Assembly: OpenTD.Results.dll
IBrowser interface providing methods for
Heatmap and HeatBetween nodes and node collecions.
public interface IBrowser
Methods
GetHeatBetween(IEnumerable<INodeInfo>, IEnumerable<INodeInfo>)
Gets the heat between two INodeInfo collections.
Positive for fromNodes -> toNodes.
HeatratesBetween GetHeatBetween(IEnumerable<INodeInfo> fromNodes, IEnumerable<INodeInfo> toNodes)
Parameters
fromNodes IEnumerable<INodeInfo>
From nodes.
toNodes IEnumerable<INodeInfo>
To nodes.
Returns
The HeatRatesBetween object with comparison results.
GetHeatBetween(IEnumerable<INodeInfo>, IEnumerable<ITieInfo>)
Gets the heat between a INodeInfo collection and a ITieInfo collection.
Positive for fromNodes -> toTies.
HeatratesBetween GetHeatBetween(IEnumerable<INodeInfo> fromNodes, IEnumerable<ITieInfo> toTies)
Parameters
fromNodes IEnumerable<INodeInfo>
From nodes.
toTies IEnumerable<ITieInfo>
To ties.
Returns
The HeatRatesBetween object with comparison results.
GetHeatBetweenSubmodels(string, string)
Gets the heatrates between submodels. Positive for fromSubmodel -> toSubmodel.
HeatratesBetween GetHeatBetweenSubmodels(string fromSubmodel, string toSubmodel)
Parameters
fromSubmodel string
From submodel name. Case insensitive.
toSubmodel string
To submodel name. Case insensitive.
Returns
The HeatRatesBetween object with comparison results.
Remarks
At least one of the submodels must be a thermal submodel.
Exceptions
OpenTDException
Thrown if both input submodel name refer to fluid submodels, or if any submodels don't exist.
GetHeatMap(IEnumerable<INodeInfo>)
Gets the collection of NodeHeatrates for each input node.
List<NodeHeatrates> GetHeatMap(IEnumerable<INodeInfo> nodes)
Parameters
nodes IEnumerable<INodeInfo>
A collection of INodeInfo
objects for which to map heatrates.
Returns
A collection of NodeHeatrates, one for each of the input nodes.
GetHeatMap(IEnumerable<SindaName>)
Gets the collection of NodeHeatrates corresponding to each input node name.
List<NodeHeatrates> GetHeatMap(IEnumerable<SindaName> nodeNames)
Parameters
nodeNames IEnumerable<SindaName>
A collection of INodeInfo SindaNames.
Returns
A collection of NodeHeatrates, one for each of the input node names.