I'm trying to write a program to mimic a 3d architectural representation of a room in
java (entities are: windows, walls, ceiling, floor; no furniture or anything inside). Then I will take some input parameters and optimize the spacing of the windows on the building.
I originally made the drawing in google sketchup, exported it as xml, parsed the xml into java classes, so now I java classes (wall, window, etc) containing coordinates for all the vertices of each entity. What I did before was hackish, but adding more functionality might be messy so I want to use existing libraries such as Point and Rectangle that have methods like setLocation, distance.
Are there any java libraries that support 3d geometries? The java.awt.Rectangle and java.awt.Point classes only support 2d shapes. The library should support methods like setLocation, move, etc because I will have to rearrange the windows on each wall after the optimization.
Let me know if my explanation is unclear.