Class AnimationConflictData
java.lang.Object
org.opentrafficsim.animation.data.AnimationConflictData
- All Implemented Interfaces:
- nl.tudelft.simulation.dsol.animation.Locatable,- org.djutils.base.Identifiable,- org.opentrafficsim.base.geometry.OtsLocatable,- org.opentrafficsim.base.geometry.SpatialObject,- ClickableLineLocatable,- ClickableLocatable,- AbstractLineAnimation.LaneBasedObjectData,- ConflictAnimation.ConflictData
Animation data of a Conflict.
 
 Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
- Author:
- Wouter Schakel
- 
Field SummaryFields inherited from interface org.opentrafficsim.draw.ClickableLocatableEXPANSE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.djutils.draw.bounds.Bounds2dgetColor()Returns the Conflict.org.djutils.draw.line.Polygon2dgetId()org.djunits.value.vdouble.scalar.Lengthorg.djutils.draw.line.PolyLine2dgetLine()org.djutils.draw.point.OrientedPoint2dorg.opentrafficsim.base.geometry.OtsShapegetShape()booleanbooleantoString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opentrafficsim.draw.road.AbstractLineAnimation.LaneBasedObjectDatagetZMethods inherited from interface nl.tudelft.simulation.dsol.animation.LocatablegetDirZ
- 
Constructor Details- 
AnimationConflictDataConstructor.- Parameters:
- conflict- conflict.
 
 
- 
- 
Method Details- 
getLaneWidthpublic org.djunits.value.vdouble.scalar.Length getLaneWidth()- Specified by:
- getLaneWidthin interface- AbstractLineAnimation.LaneBasedObjectData
 
- 
getLocationpublic org.djutils.draw.point.OrientedPoint2d getLocation()- Specified by:
- getLocationin interface- AbstractLineAnimation.LaneBasedObjectData
- Specified by:
- getLocationin interface- nl.tudelft.simulation.dsol.animation.Locatable
- Specified by:
- getLocationin interface- org.opentrafficsim.base.geometry.OtsLocatable
 
- 
getId- Specified by:
- getIdin interface- org.djutils.base.Identifiable
 
- 
getColor- Specified by:
- getColorin interface- ConflictAnimation.ConflictData
 
- 
getBoundspublic org.djutils.draw.bounds.Bounds2d getBounds()- Specified by:
- getBoundsin interface- ClickableLineLocatable
- Specified by:
- getBoundsin interface- ClickableLocatable
- Specified by:
- getBoundsin interface- nl.tudelft.simulation.dsol.animation.Locatable
- Specified by:
- getBoundsin interface- org.opentrafficsim.base.geometry.OtsLocatable
 
- 
getContourpublic org.djutils.draw.line.Polygon2d getContour()- Specified by:
- getContourin interface- org.opentrafficsim.base.geometry.SpatialObject
 
- 
getShapepublic org.opentrafficsim.base.geometry.OtsShape getShape()- Specified by:
- getShapein interface- org.opentrafficsim.base.geometry.OtsLocatable
 
- 
getLinepublic org.djutils.draw.line.PolyLine2d getLine()- Specified by:
- getLinein interface- ClickableLineLocatable
 
- 
isCrossingpublic boolean isCrossing()- Specified by:
- isCrossingin interface- ConflictAnimation.ConflictData
 
- 
isPermittedpublic boolean isPermitted()- Specified by:
- isPermittedin interface- ConflictAnimation.ConflictData
 
- 
getConflictReturns the Conflict.- Returns:
- GTU.
 
- 
toString
 
-