java.lang.Object
repast.simphony.visualization.visualization3D.layout.GEM3DLayout
All Implemented Interfaces:
Layout<Object,Network>

public class GEM3DLayout extends Object implements Layout<Object,Network>
Version:
$Revision: 1.1 $ $Date: 2006/01/06 22:35:19 $
Author:
Nick Collier
  • Constructor Details

    • GEM3DLayout

      public GEM3DLayout()
  • Method Details

    • setProjection

      public void setProjection(Network projection)
      Description copied from interface: Layout
      Sets the projection associated with this Layout.
      Specified by:
      setProjection in interface Layout<Object,Network>
      Parameters:
      projection - the associated projection.
    • setLayoutProperties

      public void setLayoutProperties(VisualizationProperties props)
      Sets the layout properties for this layout.
      Specified by:
      setLayoutProperties in interface Layout<Object,Network>
      Parameters:
      props - the layout properties
    • getLayoutProperties

      public VisualizationProperties getLayoutProperties()
      Gets the layout properties for this layout.
      Specified by:
      getLayoutProperties in interface Layout<Object,Network>
      Returns:
      the layout properties for this layout.
    • getLocation

      public float[] getLocation(Object o)
      Description copied from interface: Layout
      Gets the location of the specified object as determined by this layout.
      Specified by:
      getLocation in interface Layout<Object,Network>
      Parameters:
      o - the object whose location we want.
      Returns:
      the location of the object.
    • update

      public void update()
      Description copied from interface: Layout
      Updates this layout.
      Specified by:
      update in interface Layout<Object,Network>
    • getName

      public String getName()
      Description copied from interface: Layout
      Gets the name of the layout
      Specified by:
      getName in interface Layout<Object,Network>
      Returns:
      name of the layout type
    • getBoundingBox

      public Box getBoundingBox()
      Description copied from interface: Layout
      Gets a bounding box that describes the extent of this layout in location coordinates.
      Specified by:
      getBoundingBox in interface Layout<Object,Network>
      Returns:
      a bounding box that describes the extent of this layout in location coordinates, or a 0 size box if the extent is unknown.