public class Landmark extends VisibleObject implements ILandmark, IReferencePoint
Constructor and Description |
---|
Landmark(java.lang.String name,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D knownPosition)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IReferencePoint other) |
boolean |
equals(java.lang.Object o) |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getKnownPosition() |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getPosition() |
void |
updateLocalPosition(org.apache.commons.math3.geometry.euclidean.threed.Vector3D localPosition) |
getAge, getCollisionDistance, getDirectionTo, getDirectionTo, getDistanceToXY, getDistanceToXY, getDistanceToXYZ, getDistanceToXYZ, getInformationSource, getLastSeenTime, getLocalPosition, getName, getPreviousPosition, hashCode, isLaying, isVisible, setPosition, setVisible, updateFromAudio, updateFromVision, updateNoVision
getClass, notify, notifyAll, toString, wait, wait, wait
getAge, getCollisionDistance, getDirectionTo, getDirectionTo, getDistanceToXY, getDistanceToXY, getDistanceToXYZ, getDistanceToXYZ, getInformationSource, getLastSeenTime, getLocalPosition, getName, getPreviousPosition, isLaying, isVisible
getLocalPosition, isVisible
public Landmark(java.lang.String name, org.apache.commons.math3.geometry.euclidean.threed.Vector3D knownPosition)
name
- Landmark nameknownPosition
- Landmark positionpublic org.apache.commons.math3.geometry.euclidean.threed.Vector3D getKnownPosition()
getKnownPosition
in interface ILandmark
getKnownPosition
in interface IReferencePoint
public void updateLocalPosition(org.apache.commons.math3.geometry.euclidean.threed.Vector3D localPosition)
localPosition
- the position as observed in the root body systempublic org.apache.commons.math3.geometry.euclidean.threed.Vector3D getPosition()
getPosition
in interface IVisibleObject
getPosition
in class VisibleObject
public int compareTo(IReferencePoint other)
compareTo
in interface java.lang.Comparable<IReferencePoint>
public boolean equals(java.lang.Object o)
equals
in class VisibleObject