public class PerceivedObject2D extends Object implements PerceivedObject
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
(package private) PerceivedObjectType |
perceivedObjectType
the perceived object type.
|
Constructor and Description |
---|
PerceivedObject2D() |
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Length.Rel |
getPerceivedDistance()
Get the perceived distance to the object.
|
OTSPoint3D |
getPerceivedLocation()
Get the perceived location of the object.
|
Rotation3D.Abs |
getPerceivedMovingDirection()
Get the perceived absolute 3D moving angle.
|
PerceivedObjectType |
getPerceivedObjectType()
Get the object type.
|
Rotation3D.Rel |
getPerceivedRelativeAngle()
Get the perceived 3D-angle from our reference point and own direction to the object.
|
Rotation3D.Rel |
getPerceivedRelativeMovingDirection()
Get the perceived 3D moving angle from our reference point to the object.
|
org.djunits.value.vdouble.scalar.Speed |
getPerceivedSpeed()
Get the perceived speed of the object.
|
Speed3D |
getPerceivedSpeed3D()
Get the perceived speed of the object, split into movement in the X, Y, and Z direction.
|
PerceivedObjectType perceivedObjectType
public PerceivedObjectType getPerceivedObjectType()
getPerceivedObjectType
in interface PerceivedObject
public org.djunits.value.vdouble.scalar.Length.Rel getPerceivedDistance()
getPerceivedDistance
in interface PerceivedObject
public Rotation3D.Rel getPerceivedRelativeAngle()
getPerceivedRelativeAngle
in interface PerceivedObject
public OTSPoint3D getPerceivedLocation()
getPerceivedLocation
in interface PerceivedObject
public Rotation3D.Rel getPerceivedRelativeMovingDirection()
getPerceivedRelativeMovingDirection
in interface PerceivedObject
public Rotation3D.Abs getPerceivedMovingDirection()
getPerceivedMovingDirection
in interface PerceivedObject
public org.djunits.value.vdouble.scalar.Speed getPerceivedSpeed()
getPerceivedSpeed
in interface PerceivedObject
public Speed3D getPerceivedSpeed3D()
getPerceivedSpeed3D
in interface PerceivedObject
Copyright © 2014–2016 Delft University of Technology. All rights reserved.