|
From: Mark R. D. <mdi...@la...> - 2003-07-31 19:29:13
|
I suspect it would be fun for us to explore the future of Object3DSpaces
for our new topology.space library we've been building too. with the
establishment of a Spaces methods only accepting/returning "Locations"
instead of x/y coordinates, this would free us up to make > 2
dimensional spaces without being restricted by the interfaces.
interface DiscreteSpace {
public Location removeLocation(Location loc);
public Location getLocation(Location loc);
public void removeObjectAt(Object obj, Location loc);
public void putObjectAt(Object obj, Location loc);
public void getObjectAt(Location loc);
}
class Discrete2DSpace implements DiscreteSpace {
...
}
class Discrete3DSpace implements DiscreteSpace {
...
}
class Object2DLocation implements Location{
public int getX(){
...
}
public int getY(){
...
}
}
class Object3DLocation extends Object2DLocation{
public int getZ(){
...
}
}
I imagine it would be interesting to have Different "Display Surfaces"
for the space, imagine "top", "side", "front", "isometric" and "3D
adjustable" Displays, the 2D (top, side, front) Could easily be
superimposed on a 2D DisplaySurface while a 3D display surface would
need to be created for isometric and adjustable 3D Displays.
-Mark
Phil Feldman wrote:
> I've been doing a lot of work in that area for the past year or so. It's
> not quite ready for prime time, but I may be able to help you out a bit.
>
> Phil Feldman
>
>> Has anyone done any work on 3d-space models (like Heatbugs in
>> 3d-space) in Repast or anyone planning on it ? Like with Java3D ?
>
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Repast-developer mailing list
> Rep...@li...
> https://lists.sourceforge.net/lists/listinfo/repast-developer
|