I checked out now how this works with Spaces in JOODE and I realized, that Geoms are saved in linked lists and that the next-Geom functions are directly implemented in Geom.
Is this wise? This way the data structure in which the Geoms are saved is predefined and if a better data-structure should be used, the old will still take memory.
Why aren’t Geoms stored directly in the Spaces? That would make much more sense to me. Maybe it’s because of the non-OO design of ODE.
If there are no objections about this, I will try to change it.