Package org.planit.utils.network.virtual
Interface ConnectoidEdge
-
- All Superinterfaces:
Comparable<Idable>,DirectedEdge,Edge,ExternalIdable,Idable,Serializable
- All Known Implementing Classes:
ConnectoidEdgeImpl
public interface ConnectoidEdge extends DirectedEdge
the connecting component between centroid and a first physical node in the network. Note that all connectoids are directed edges but not all edges are connectoids- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetConnectoidEdgeId()Return the unique id of this connectoid edgeConnectoidSegmentregisterConnectoidSegment(ConnectoidSegment connectoidSegment, boolean directionAB)Register connectoidSegment.-
Methods inherited from interface org.planit.utils.graph.DirectedEdge
getEdgeSegment, getEdgeSegmentAb, getEdgeSegmentBa, hasEdgeSegmentAb, hasEdgeSegmentBa, registerEdgeSegment, replace
-
Methods inherited from interface org.planit.utils.graph.Edge
addInputProperty, clone, getGeometry, getInputProperty, getLengthKm, getName, getVertexA, getVertexB, hasGeometry, hasVertex, isGeometryInAbDirection, removeVertex, replace, setGeometry, setLengthKm, setName, transformGeometry, validate
-
Methods inherited from interface org.planit.utils.id.ExternalIdable
getExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, setXmlId
-
Methods inherited from interface org.planit.utils.id.Idable
compareTo, getId, idEquals, idHashCode
-
-
-
-
Method Detail
-
registerConnectoidSegment
ConnectoidSegment registerConnectoidSegment(ConnectoidSegment connectoidSegment, boolean directionAB) throws PlanItException
Register connectoidSegment. If there already exists a connectoidSegment for that direction it is replaced and returned- Parameters:
connectoidSegment- connectoid segment to be registereddirectionAB- direction of travel- Returns:
- replaced ConnectoidSegment
- Throws:
PlanItException- thrown if there is an error
-
getConnectoidEdgeId
long getConnectoidEdgeId()
Return the unique id of this connectoid edge- Returns:
- id of this connectoid edge
-
-