Interface ConnectoidEdgeFactory
- 
- All Superinterfaces:
 GraphEntityFactory<ConnectoidEdge>,ManagedIdEntityFactory<ConnectoidEdge>
- All Known Implementing Classes:
 ConnectoidEdgeFactoryImpl
public interface ConnectoidEdgeFactory extends GraphEntityFactory<ConnectoidEdge>
Factory interface for connectoid edges- Author:
 - markr
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectoidEdgeregisterNew(CentroidVertex centroidVertex, DirectedVertex nonCentroidVertex, double lengthKm)Create new connectoid edges from a specified connectoid to all centroids of the zones this connectoid has registered as access zone.- 
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken 
 - 
 
 - 
 
- 
- 
Method Detail
- 
registerNew
ConnectoidEdge registerNew(CentroidVertex centroidVertex, DirectedVertex nonCentroidVertex, double lengthKm)
Create new connectoid edges from a specified connectoid to all centroids of the zones this connectoid has registered as access zone.- Parameters:
 centroidVertex- the centroidVertex connecting to the centroid, i.e., zonenonCentroidVertex- the other vertex connecting to the (physical) layerlengthKm- length in km to set- Returns:
 - newly created connectoid edge (reference vertices not yet aware of connection these have to be added afterwards)
 
 
 - 
 
 -