public Vector3[] getArray() { Vector3[] arry = new Vector3[length]; TargLink cur = top; for (int i = 0; i < length; i++) { arry[i] = cur.getData(); cur = cur.getNext(); } return(arry); }
public Vector3 getBottom() { return(bottom.getData()); }
public Vector3 getTop() { return(top.getData()); }