Home »
Public Forums »
archive »
3D-coordinates of index returned MAX()
3D-coordinates of index returned MAX() [message #34699] |
Sun, 06 April 2003 12:32 |
Alexander Gro�
Messages: 7 Registered: April 2003
|
Junior Member |
|
|
hi everyone,
I have problems determining the coordinates from the index returned by
MAX(). The online help has an example for that in 2D, but I need a solution
for 3D-space.
What tells me this index? Is something like the pixelnumber in the whole
3D-array? How is this array referenced through the index?
The code looks like this:
nXCoord = nMaxIndex mod size_imgRef_x
nYCoord = nMaxIndex / (size_imgRef_x * size_imgRef_z)
nZCoord = nMaxIndex / (size_imgRef_x * size_imgRef_y)
It does not work for me. Am I just to blind/stupid to see the solution or is
there some difference between 2D and 3D.
Best regards and thanks for your help in advance,
Alex
_______________________________________
Alexander Gro�
Dipl.-Ing. (BA) f�r Informationstechnik
AlexanderGross@gmx.de
http://www.it99.org/axl
+49 (0) 1 75/ 410 72 68
ICQ# 36765668
_______________________________________
|
|
|
Current Time: Wed Oct 08 11:39:37 PDT 2025
Total time taken to generate the page: 0.00518 seconds