From: Matthias B. <ba...@ir...> - 2004-08-03 07:36:05
|
Hi, I'm just in the process of restructuring the Space class. The first step was to derive it from GeomObject as ODE considers spaces to be geoms as well. This is already in cvs. As a second step I'd like to split the Space class in its individual classes as there are already three of them in ODE: SimpleSpace, HashSpace and QuadTreeSpace. However, before doing so I thought I'd better ask what you think of it. Are you in favor of this change or do you think we should stick to one Space class and pass the type as argument (as it is the case right now)? If we'll have individual classes, what class names would you prefer? Should "Space" be the abstract base class or an alias for the SimpleSpace class to remain at least a bit of compatibility to the previous version? Or should "Space" be a factory function that still works like before and returns the appropriate space class..... (hm, this just occurred to me while typing the mail and now I'm indeed in favor of that solution as it remains fully compatible with the previous version. Any objections? :) ) - Matthias - |