SteeringProperties
Class Target_packet

Package class diagram package Target_packet
java.lang.Object
  extended by SteeringProperties.Target_packet

public class Target_packet
extends Object

This is one packet of the location and it's definition of force. The class TargetApproachingProperties uses this Target_packet.

Author:
Marki

Constructor Summary
Target_packet()
           
Target_packet(cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation, Force_packet force_packet)
           
Target_packet(XMLTarget_packet xml_packet)
           
 
Method Summary
 int getAttractiveForce()
          Returns the attractive force at the distance 0.
 int getAttractiveForce(double distance)
           
 Force_packet getForce_packet()
           
 String getSpecialText()
           
 cz.cuni.amis.pogamut.base3d.worldview.object.Location getTargetLocation()
           
 XMLTarget_packet getXMLProperties()
           
 void setAttractiveForce(int force)
          Sets the attractive force at the distance 0.
 void setForce_packet(Force_packet f_packet)
           
 void setTarget_Packet(Target_packet tp)
           
 void setTargetLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location endLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Target_packet

public Target_packet()

Target_packet

public Target_packet(XMLTarget_packet xml_packet)

Target_packet

public Target_packet(cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation,
                     Force_packet force_packet)
Method Detail

getTargetLocation

public cz.cuni.amis.pogamut.base3d.worldview.object.Location getTargetLocation()

setTargetLocation

public void setTargetLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location endLocation)

setTarget_Packet

public void setTarget_Packet(Target_packet tp)

getForce_packet

public Force_packet getForce_packet()

setForce_packet

public void setForce_packet(Force_packet f_packet)

getAttractiveForce

public int getAttractiveForce(double distance)

setAttractiveForce

public void setAttractiveForce(int force)
Sets the attractive force at the distance 0.


getAttractiveForce

public int getAttractiveForce()
Returns the attractive force at the distance 0.


getSpecialText

public String getSpecialText()

getXMLProperties

public XMLTarget_packet getXMLProperties()


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.