ID
- the ID type of the node.P
- the point type of the node (Point, DirectedPoint, XY, etc.).public abstract class AbstractExpansionNode<ID,P> extends AbstractNode<ID,P>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
AbstractExpansionNode(ID id,
P point,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope,
Network<?,?> network) |
AbstractExpansionNode(ID id,
P point,
Network<?,?> network) |
Modifier and Type | Method and Description |
---|---|
Network<?,?> |
getNetwork() |
addLinkIn, addLinkOut, equals, getBounds, getDirection, getId, getLinksIn, getLinksOut, getLocation, getPoint, getSlope, getX, getY, getZ, hashCode, toString
public AbstractExpansionNode(ID id, P point, Network<?,?> network)
id
- ID of ExpansionNode.point
- the point when the expansion node is collapsed.network
- Network of expanded Node.public AbstractExpansionNode(ID id, P point, DoubleScalar.Abs<AnglePlaneUnit> direction, DoubleScalar.Abs<AngleSlopeUnit> slope, Network<?,?> network)
id
- ID of ExpansionNode.point
- the point when the expansion node is collapsed.direction
- the 3D direction. "East" is 0 degrees. "North" is 90 degrees (1/2 pi radians).slope
- the slope as an angle.network
- Network of expanded Node.public final Network<?,?> getNetwork()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.