org.odejava
Class SimpleSpace

java.lang.Object
  extended by org.odejava.Space
      extended by org.odejava.SimpleSpace

public class SimpleSpace
extends Space

A simple space representation.

Author:
Jani Laakso E-mail: jani.laakso@itmill.com see http://odejava.dev.java.net

Field Summary
 
Fields inherited from class org.odejava.Space
deleted, geomList, geomMap, parentId, spaceId, SPACEID_ZERO
 
Constructor Summary
SimpleSpace()
          Create SimpleSpace that does not have a parent space.
SimpleSpace(Space parent)
          Create simple space that belongs to the given parent space.
 
Method Summary
 
Methods inherited from class org.odejava.Space
add, addBodyGeoms, addGeom, containsGeom, delete, getChildCleanupMode, getGeom, getGeomMap, getGeoms, getId, getID, getNativeAddr, getSpaceFromNativeAddr, getUserData, isEnabled, remove, renameGeom, setChildCleanupMode, setEnabled, setUserData, updateNativeAddr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSpace

public SimpleSpace()
Create SimpleSpace that does not have a parent space.


SimpleSpace

public SimpleSpace(Space parent)
Create simple space that belongs to the given parent space. If the parent space reference is null, then this space is placed as a top-level space.

Parameters:
parent - A reference to the parent space, or null