V
- The type of edge. Typically it would be a Line Feature Element or a Link.
public class NFEConnectableEdge<V>
extends java.lang.Object
Constructor and Description |
---|
NFEConnectableEdge()
Allocates an empty connectable edge
|
NFEConnectableEdge(V edge, java.awt.geom.Point2D connPoint, IntersectionLocation connInterLoc)
Allocates a new connectable edge
|
Modifier and Type | Method and Description |
---|---|
IntersectionLocation |
getConnectableIntersectionLocation()
Gets the location of edge where the connection will be performed.
|
java.awt.geom.Point2D |
getConnectableSpatialPoint()
Gets the edge's point that will be connected
|
long |
getConnectingLinePointRuleId()
Gets the line point rule ID that will connect the edge
|
V |
getEdge()
Gets the edge to be connected
|
void |
setConnectableIntersectionLocation(IntersectionLocation connectableIntersectionLocation)
Sets the location (as a fixed value) of edge where the connection will be performed.
|
void |
setConnectableSpatialPoint(java.awt.geom.Point2D connectableSpatialPoint)
Sets the edge's point that will be connected
|
void |
setConnectingLinePointRuleId(long connLPRuleId)
Sets the line point rule ID that will connect the edge
|
void |
setEdge(V edge)
Sets an edge to be connected
|
public NFEConnectableEdge()
public NFEConnectableEdge(V edge, java.awt.geom.Point2D connPoint, IntersectionLocation connInterLoc)
edge
- the edge to be connectedconnPoint
- the point in the edge where the connection must be performedconnInterLoc
- the edge's connection location (as an enum value)public V getEdge()
public void setEdge(V edge)
edge
- an edge instancepublic java.awt.geom.Point2D getConnectableSpatialPoint()
public void setConnectableSpatialPoint(java.awt.geom.Point2D connectableSpatialPoint)
connectableSpatialPoint
- a java point lying on the edgepublic IntersectionLocation getConnectableIntersectionLocation()
public void setConnectableIntersectionLocation(IntersectionLocation connectableIntersectionLocation)
connectableIntersectionLocation
- an edge's locationpublic long getConnectingLinePointRuleId()
public void setConnectingLinePointRuleId(long connLPRuleId)
connLPRuleId
- a line point rule ID