Lines Matching defs:Position
29 public static class Position implements Cloneable {
36 public Position() {
39 public Position(float x, float y, float z) {
43 public Position(float x, float y, float z, float ftheta, float alpha) {
52 public Position clone() {
54 return (Position) super.clone();
60 public void set(Position another) {
78 if (!(object instanceof Position)) return false;
79 Position position = (Position) object;
80 return x == position.x && y == position.y && z == position.z
81 && theta == position.theta
82 && alpha == position.alpha;
86 Position source, Position target, Position output, float progress) {
109 private HashMap<Long, Position> mData = new HashMap<Long, Position>();
112 private Position mTempPosition = new Position();
114 public Position get(Long identity) {
115 Position position = mData.get(identity);
116 if (position == null) return null;
117 mTempPosition.set(position);
118 position = mTempPosition;
119 position.x -= mOffsetX;
120 position.y -= mOffsetY;
121 return position;
129 public void putPosition(Long identity, Position position) {
130 Position clone = position.clone();