unbboolean.gui.save
Class SaveSolid

java.lang.Object
  |
  +--unbboolean.gui.save.SaveSolid
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SaveCompoundSolid, SavePrimitiveSolid

public abstract class SaveSolid
extends java.lang.Object
implements java.io.Serializable

Class representing a solid to be saved

Author:
Danilo Balby Silva Castanheira(danbalby@yahoo.com)
See Also:
Serialized Form

Constructor Summary
SaveSolid(CSGSolid solid)
          Constructs a SaveSolid object based on a CSGSolid object
 
Method Summary
static SaveSolid getSaveSolid(CSGSolid solid)
          Gets the save solid corresponding to a save solid
abstract  CSGSolid getSolid()
          Gets the solid corresponding to this save solid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveSolid

public SaveSolid(CSGSolid solid)
Constructs a SaveSolid object based on a CSGSolid object

Parameters:
solid - solid to be saved
Method Detail

getSaveSolid

public static SaveSolid getSaveSolid(CSGSolid solid)
Gets the save solid corresponding to a save solid

Returns:
the save solid corresponding to a solid

getSolid

public abstract CSGSolid getSolid()
Gets the solid corresponding to this save solid

Returns:
the solid corresponding to this save solid