Package org.goplanit.utils.graph
Interface ConjugateEdge
-
- All Superinterfaces:
Comparable<IdAble>,Edge,ExternalIdAble,GraphEntity,IdAble,ManagedId,Serializable
- All Known Implementing Classes:
ConjugateEdgeImpl
public interface ConjugateEdge extends Edge
Conjugate Edge interface connecting two conjugate vertices in a non-directional fashion.- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static Class<ConjugateEdge>CONJUGATE_EDGE_ID_CLASSid class for generating ids-
Fields inherited from interface org.goplanit.utils.graph.Edge
EDGE_ID_CLASS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConjugateEdgedeepClone()deep Clone the conjugate edgePair<Edge,Edge>getOriginalEdges()Edges in original graph representing this conjugateConjugateVertexgetVertexA()Vertex A of the edgeConjugateVertexgetVertexB()Vertex B of the edgeConjugateEdgeshallowClone()Clone the conjugate edge as is, all shared members are shallow copied, fully owned members are deep copied-
Methods inherited from interface org.goplanit.utils.graph.Edge
addInputProperty, createEnvelope, getGeometry, getIdClass, getInputProperty, getLengthKm, getName, hasGeometry, hasName, hasVertex, hasVertexA, hasVertexB, hasVertices, isGeometryInAbDirection, isGeometryInAbDirection, isVertexA, populateBasicGeometry, removeVertex, replace, setGeometry, setLengthKm, setName, transformGeometry, updateGeometryInjectCoordinateAtProjectedLocation, validate
-
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
-
-
-
-
Field Detail
-
CONJUGATE_EDGE_ID_CLASS
static final Class<ConjugateEdge> CONJUGATE_EDGE_ID_CLASS
id class for generating ids
-
-
Method Detail
-
getVertexA
ConjugateVertex getVertexA()
Vertex A of the edge- Specified by:
getVertexAin interfaceEdge- Returns:
- vertex A
-
getVertexB
ConjugateVertex getVertexB()
Vertex B of the edge- Specified by:
getVertexBin interfaceEdge- Returns:
- vertex B
-
shallowClone
ConjugateEdge shallowClone()
Clone the conjugate edge as is, all shared members are shallow copied, fully owned members are deep copied- Specified by:
shallowClonein interfaceEdge- Specified by:
shallowClonein interfaceGraphEntity- Specified by:
shallowClonein interfaceIdAble- Returns:
- copy of this conjugate edge
-
deepClone
ConjugateEdge deepClone()
deep Clone the conjugate edge
-
-