Class Grid3DLayout
java.lang.Object
repast.simphony.visualization.grid.Grid3DLayout
3D Layout for a 2D or 3D single occupancy grid. Origin is in lower left hand corner.
- Version:
- $Revision: 1.1 $ $Date: 2006/01/06 22:35:19 $
- Author:
- Nick Collier
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets a bounding box that describes the extent of this layout in location coordinates.Gets the layout properties for this layout.float[]getLocation(Object obj) Gets the location of the specified object as determined by this layout.getName()Gets the name of the layoutvoidSets the layout properties for this layout.voidsetProjection(Grid grid) Sets the projection associated with this Layout.voidupdate()Updates this layout.
- 
Field Details- 
pointprotected float[] point
 
- 
- 
Constructor Details- 
Grid3DLayoutpublic Grid3DLayout()
 
- 
- 
Method Details- 
setProjectionDescription copied from interface:LayoutSets the projection associated with this Layout.- Specified by:
- setProjectionin interface- Layout<Object,- Grid> 
- Parameters:
- grid- the associated projection.
 
- 
setLayoutPropertiesSets the layout properties for this layout.- Specified by:
- setLayoutPropertiesin interface- Layout<Object,- Grid> 
- Parameters:
- props- the layout properties
 
- 
getLayoutPropertiesGets the layout properties for this layout.- Specified by:
- getLayoutPropertiesin interface- Layout<Object,- Grid> 
- Returns:
- the layout properties for this layout.
 
- 
getLocationDescription copied from interface:LayoutGets the location of the specified object as determined by this layout.- Specified by:
- getLocationin interface- Layout<Object,- Grid> 
- Parameters:
- obj- the object whose location we want.
- Returns:
- the location of the object.
 
- 
updatepublic void update()Description copied from interface:LayoutUpdates this layout.
- 
getNameDescription copied from interface:LayoutGets the name of the layout
- 
getBoundingBoxDescription copied from interface:LayoutGets a bounding box that describes the extent of this layout in location coordinates.- Specified by:
- getBoundingBoxin interface- Layout<Object,- Grid> 
- Returns:
- a bounding box that describes the extent of this layout in location coordinates, or a 0 size box if the extent is unknown.
 
 
-