Hi Thomas, When adding a new point to a TPolyMarker3D object, the current number of points is automatically doubled in the point number is greater than the number of points. The previous logic was quite innefficient, increasing the array size by just 1. GetN() returns the total allocation. GetLastPoint return the last point number so the total number of real points is GetLastPoint()+1 Same procedure in TPolyLine3D. Rene Brun Thomas Bretz wrote: > > Hi all, > > in 3.02/07 (compared to 3.01/06) I encountered the following behaviour: > The number of the poly markers is TPolyMarker3D is not increased by 1 if > you use SetNextPoint but it is always a power of two. This makes the > usage of GetN completely sensless! > > Can this be fixed please? > > Best regards, > Thomas.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:50 MET