I have a vector which i convert to an array of objects as follows: Vector vctNumbers = (Vector)vctGraphItems.elementAt(1); Object objArr = vctNumbers.toArray(); //array of objects I now need to convert this 1-d Object array, to a 2-d float array: float array = ... If anyone has done this before or can explain this to me i would be very greatful. thanks, Stephen O Donnell
posted 15 years ago
Assuming the Objects are actually Floats you would need a nested loop which copies the values one by one.