- All Known Subinterfaces:
DensityMapCompatibleNode,DensityMapCompatiblePath
- All Known Implementing Classes:
AreaNode,ConveyorCustomStation,ConveyorNode,ConveyorPath,ConveyorPointNode,ConveyorPortImpl,ConveyorSimpleStation,ConveyorSpur,ConveyorTransferTable,ConveyorTransitionalNode,ConveyorTurnStation,ConveyorTurntable,NetworkPortImpl,Node,Path,PointNode,PolygonalNode,QueueArea,RailwaySwitch,RailwayTrack,RectangularNode
@AnyLogicInternalLibraryAPI public interface DensityMapCompatibleNetworkElement
| Modifier and Type | Interface | Description |
|---|---|---|
static final record | DensityMapCompatibleNetworkElement.NDimensionalSpatialMetric |
| Modifier and Type | Method | Description |
|---|---|---|
DensityMapCompatibleNetwork | getDensityMapCompatibleNetwork() |
Returns density map compatible network where this network element is located
|
DensityMapCompatibleNetworkElement.NDimensionalSpatialMetric | getDensitySpatialMetric |
Returns n-dimensional space metric (0 - 1.0, 1 - length, 2 - area, 3 - volume).
|
void | setDensityMapColor |
Sets the network element's density map color.
|
DensityMapCompatibleNetworkElement.NDimensionalSpatialMetric getDensitySpatialMetric(AreaUnits units)
Returns n-dimensional space metric (0 - 1.0, 1 - length, 2 - area, 3 - volume).
- Parameters:
units-- Returns:
- n-dimensional space metric (0 - 1.0, 1 - length, 2 - area, 3 - volume).
void setDensityMapColor(Paint color)
Sets the network element's density map color.
- Parameters:
color-
DensityMapCompatibleNetwork getDensityMapCompatibleNetwork()
Returns density map compatible network where this network element is located
- Returns:
- network