Package org.opentrafficsim.animation
Class PerceptionAnimation.ChannelAttention
java.lang.Object
org.opentrafficsim.animation.PerceptionAnimation.ChannelAttention
- Enclosing class:
- PerceptionAnimation
Locatable for GTU in attention context.
-
Field Summary
Fields inherited from interface org.opentrafficsim.base.geometry.OtsShape
DEFAULT_POLYGON_SEGMENTS, WORLD_MARGIN_LINE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, contains, getAbsoluteBounds, getAbsoluteContour, getAbsoluteContour, getDirZ, getRelativeBounds, signedDistance, signedDistance
-
Constructor Details
-
ChannelAttention
Constructor.- Parameters:
gtu- GTU
-
-
Method Details
-
getGtu
Returns the GTU.- Returns:
- GTU
-
getLocation
- Specified by:
getLocationin interfaceLocatable- Specified by:
getLocationin interfaceOtsShape
-
getZ
public double getZ() -
getRelativeContour
- Specified by:
getRelativeContourin interfaceOtsShape
-