Package org.arakhne.afc.math.graph
Interface GraphPoint.GraphPointConnection<PT extends GraphPoint<PT,ST>,ST extends GraphSegment<ST,PT>>
-
- Type Parameters:
PT
- is the type of node in the graphST
- is the type of edge in the graph
- All Known Implementing Classes:
RoadAStar.VirtualConnection
,StandardRoadConnection.Connection
,SubRoadNetwork.TerminalConnection
,SubRoadNetwork.WrapGraphPointConnection
- Enclosing interface:
- GraphPoint<PT extends GraphPoint<PT,ST>,ST extends GraphSegment<ST,PT>>
public static interface GraphPoint.GraphPointConnection<PT extends GraphPoint<PT,ST>,ST extends GraphSegment<ST,PT>>
Describes a connection pair composed of the graph point and one graph segment. The GraphPointConnection is describes how a segment is connected to the graph point. Because it is an inner-class, the graph point replied should be the enclosing GraphPoint instance. Basically, any instance of the GraphPointConnection is instanced when mandatory, and they are not stored in any data structure.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:42
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgraph
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PT
getGraphPoint()
Replies the connection point.ST
getGraphSegment()
Replies the connected segment.boolean
isSegmentStartConnected()
Replies if the connected segment is connected by its start point or not.
-
-
-
Method Detail
-
getGraphSegment
@Pure ST getGraphSegment()
Replies the connected segment.- Returns:
- the connected segment.
-
getGraphPoint
@Pure PT getGraphPoint()
Replies the connection point.- Returns:
- the connection point.
-
isSegmentStartConnected
@Pure boolean isSegmentStartConnected()
Replies if the connected segment is connected by its start point or not.- Returns:
true
if the segment replied bygetGraphSegment()
is connected to the point replied bygetGraphPoint()
by its start end, otherwisefalse
-
-