org.nlogo.agent
Class Observer3D
java.lang.Object
java.util.Observable
org.nlogo.agent.Agent
org.nlogo.agent.Observer
org.nlogo.agent.Observer3D
- All Implemented Interfaces:
- Comparable, Agent3D, Agent
public final class Observer3D
- extends Observer
- implements Agent3D
Methods inherited from class org.nlogo.agent.Observer |
assertVariableConstraint, atHome2D, atHome3D, classDisplayName, dist, distance, dx, dy, dz, face, face, followDistance, followDistance, followOffsetX, followOffsetY, getAgentBit, getAgentClass, getBreedVariable, getImplicitVariables, getLinkBreedVariable, getLinkVariable, getLinkVariableDouble, getObserverVariable, getPatchAtOffsets, getPatchVariable, getPatchVariableDouble, getTurtleOrLinkVariable, getTurtleVariable, getTurtleVariableDouble, getVariable, heading, heading, oxcor, oxcor, oxyandzcor, oycor, oycor, ozcor, ozcor, perspective, perspective, pitch, pitch, resetPerspective, roll, roll, rotationPoint, setBreedVariable, setLinkBreedVariable, setLinkVariable, setLinkVariable, setObserverVariable, setOrientation, setPatchVariable, setPatchVariable, setPerspective, setPerspective, setRotationPoint, setRotationPoint, setTurtleOrLinkVariable, setTurtleVariable, setTurtleVariable, setVariable, targetAgent, targetAgent, toString |
Observer3D
public Observer3D(World world)
home
public void home()
- Overrides:
home
in class Observer
updatePosition
public boolean updatePosition()
- Overrides:
updatePosition
in class Observer
distance
public double distance(Agent agent)
distance
public double distance(RenderableTurtle t)
- Overrides:
distance
in class Observer
distance
public double distance(double x,
double y,
double z)
followOffsetZ
public double followOffsetZ()
face
public void face(double x,
double y,
double z)
moveto
public void moveto(Agent otherAgent)
- Overrides:
moveto
in class Observer
getPatchAtOffsets
public Patch3D getPatchAtOffsets(double dx,
double dy,
double dz)
throws AgentException
- Specified by:
getPatchAtOffsets
in interface Agent3D
- Throws:
AgentException
setRotationPoint
public void setRotationPoint(Agent agent)
- Overrides:
setRotationPoint
in class Observer
orbitRight
public void orbitRight(double delta)
- Overrides:
orbitRight
in class Observer
orbitUp
public void orbitUp(double delta)
- Overrides:
orbitUp
in class Observer
rotatePsi
public void rotatePsi(double delta)
- Overrides:
rotatePsi
in class Observer
translate
public void translate(double thetaX,
double thetaY)
- Overrides:
translate
in class Observer