TSurfaceSeries takes a long time
Posted: Fri Apr 01, 2005 12:58 pm
I've tried to use TSurfaceSeries in my application but I see it's impossible.
I have some points on (x,y,height). As I understand right TSurfaceSeries use y-coordinate as a height. Ok, I add points by AddXYZ() where I send height instead of y and vice versa. It means I write the following:
AddXYZ(x, height, z);
Right now my points have coordinates in range of -5000 till 5000. But this range can vary. If I have the only point (0,0,0) I have no problems, but even I try to add one another point (1700,1200,0) (0 is a height) the application starts to make something, it gets a lot of memory and all my system almost freezes. The only way to stop it close the application by the Task Manager.
What is wrong here? Why does it happen?
I have some points on (x,y,height). As I understand right TSurfaceSeries use y-coordinate as a height. Ok, I add points by AddXYZ() where I send height instead of y and vice versa. It means I write the following:
AddXYZ(x, height, z);
Right now my points have coordinates in range of -5000 till 5000. But this range can vary. If I have the only point (0,0,0) I have no problems, but even I try to add one another point (1700,1200,0) (0 is a height) the application starts to make something, it gets a lot of memory and all my system almost freezes. The only way to stop it close the application by the Task Manager.
What is wrong here? Why does it happen?