|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SteeringProperties.Force_packet
public class Force_packet
The packet of all things which belog to one force of one location in the Target Approaching Steering. It includes mainly the forcePoints, which is list of ForcePoint. It defines the force.
Constructor Summary | |
---|---|
Force_packet(Force_packet force_packet)
Copy constructor. |
|
Force_packet(int forceValue)
|
|
Force_packet(int firstForceValue,
int lastForceValue)
|
|
Force_packet(LinkedList<ForcePoint> forcePoints)
|
|
Force_packet(XMLForce_packet xmlPacket)
|
Method Summary | |
---|---|
void |
addForcePoint(ForcePoint forcePoint)
Adds the forcePoint after the fp with the nearest but smaller (or same) distance. |
void |
deleteForcePoint(ForcePoint forcePoint)
Deletes the force point - if it's not the first force point. |
LinkedList<ForcePoint> |
getForcePoints()
|
ForcePoint |
getHigherFP(double distance)
Gets the ForcePoint, which's distance is the nearest smaller (or equal) than the distance of the coord. |
ForcePoint |
getInifinityPoint()
Returns some ForcePoint with very distant distance. |
ForcePoint |
getInifinityPoint(ForcePoint fp1,
ForcePoint fp2)
Returns some ForcePoint with very distant distance - uses the two last ForcePoints of the list. |
int |
getLAST_DISTANCE()
|
ForcePoint |
getLowerFP(double distance)
Gets the ForcePoint, which's distance is the nearest smaller (or equal) than the distance of the coord. |
String |
getSpecialText()
|
int |
getValueOfTheDistance(double distance)
|
int |
getValueOfTheLine(int fromDistance,
int fromValue,
double toDistance,
float direction)
Returns the y-value of point on the line defined by 2 points. |
XMLForce_packet |
getXMLForce_packet()
|
void |
setForcePacket(Force_packet f_packet)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Force_packet(LinkedList<ForcePoint> forcePoints)
public Force_packet(int forceValue)
public Force_packet(int firstForceValue, int lastForceValue)
public Force_packet(XMLForce_packet xmlPacket)
public Force_packet(Force_packet force_packet)
Method Detail |
---|
public void setForcePacket(Force_packet f_packet)
public LinkedList<ForcePoint> getForcePoints()
public int getLAST_DISTANCE()
public void addForcePoint(ForcePoint forcePoint)
public void deleteForcePoint(ForcePoint forcePoint)
public int getValueOfTheDistance(double distance)
public String getSpecialText()
public XMLForce_packet getXMLForce_packet()
public ForcePoint getLowerFP(double distance)
public ForcePoint getHigherFP(double distance)
public int getValueOfTheLine(int fromDistance, int fromValue, double toDistance, float direction)
public ForcePoint getInifinityPoint()
public ForcePoint getInifinityPoint(ForcePoint fp1, ForcePoint fp2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |