Package org.goplanit.utils.network.layer
Interface TopologicalLayer
-
- All Superinterfaces:
Comparable<IdAble>
,ExternalIdAble
,IdAble
,ManagedId
,NetworkLayer
- All Known Subinterfaces:
ConjugateMacroscopicNetworkLayer
,MacroscopicNetworkLayer
,PhysicalLayer
,ServiceNetworkLayer
,UntypedDirectedGraphLayer<V,E,S>
,UntypedPhysicalLayer<N,L,LS>
- All Known Implementing Classes:
ConjugateMacroscopicNetworkLayerImpl
,MacroscopicNetworkLayerImpl
,ServiceNetworkLayerImpl
,TopologicalLayerImpl
,UntypedNetworkLayerImpl
,UntypedPhysicalLayerImpl
public interface TopologicalLayer extends NetworkLayer
A topological layer represents a layer suited for a number of modes that is topologically meaningful without enforcing the actual implemantation of this topology. IT only assumes that the topology can be modified by an underlying modifier that is accessible to the user. Since it is topologically meaningful it can have a coordinate reference system as well.- Author:
- markr
-
-
Field Summary
-
Fields inherited from interface org.goplanit.utils.network.layer.NetworkLayer
NETWORK_LAYER_ID_CLASS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.locationtech.jts.geom.Envelope
createBoundingBox()
Create bounding box from underlying topography of the layerTopologicalLayer
deepClone()
A network layer deep clone is expected to update interdependencies between "owned" deep cloned entities where possibleTopologicalModifier
getLayerModifier()
Provide access to the modifier options for this layerTopologicalLayer
shallowClone()
Create a shallow copy of this entityvoid
transform(org.opengis.referencing.crs.CoordinateReferenceSystem fromCoordinateReferenceSystem, org.opengis.referencing.crs.CoordinateReferenceSystem toCoordinateReferenceSystem)
transform all underlying geometries in the layer from the given crs to the new crs-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
appendExternalId, appendExternalId, getExternalId, getIdsAsString, getSplitExternalId, getSplitExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, setXmlId, setXmlId
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, getId, idEquals, idHashCode
-
Methods inherited from interface org.goplanit.utils.id.ManagedId
recreateManagedIds, resetChildManagedIdEntities
-
Methods inherited from interface org.goplanit.utils.network.layer.NetworkLayer
getFirstSupportedMode, getIdClass, getSupportedModes, hasSupportedModes, isEmpty, logInfo, registerSupportedMode, registerSupportedModes, reset, supports, supports, supportsPredefinedMode, validate
-
-
-
-
Method Detail
-
shallowClone
TopologicalLayer shallowClone()
Create a shallow copy of this entity- Specified by:
shallowClone
in interfaceIdAble
- Specified by:
shallowClone
in interfaceNetworkLayer
- Returns:
- shallow copy of entity
-
deepClone
TopologicalLayer deepClone()
A network layer deep clone is expected to update interdependencies between "owned" deep cloned entities where possible- Specified by:
deepClone
in interfaceIdAble
- Specified by:
deepClone
in interfaceNetworkLayer
- Returns:
- deep copy of entity
-
transform
void transform(org.opengis.referencing.crs.CoordinateReferenceSystem fromCoordinateReferenceSystem, org.opengis.referencing.crs.CoordinateReferenceSystem toCoordinateReferenceSystem) throws PlanItException
transform all underlying geometries in the layer from the given crs to the new crs- Parameters:
fromCoordinateReferenceSystem
- presumed current crstoCoordinateReferenceSystem
- to tranform to crs- Throws:
PlanItException
- thrown if error
-
getLayerModifier
TopologicalModifier getLayerModifier()
Provide access to the modifier options for this layer- Returns:
- layer modifier
-
createBoundingBox
org.locationtech.jts.geom.Envelope createBoundingBox()
Create bounding box from underlying topography of the layer- Returns:
- envelope reflecting extreme points of bounding box (rectangular)
-
-