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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
point
protected float[] point
-
-
Constructor Details
-
Grid3DLayout
public Grid3DLayout()
-
-
Method Details
-
setProjection
Description copied from interface:LayoutSets the projection associated with this Layout.- Specified by:
setProjectionin interfaceLayout<Object,Grid> - Parameters:
grid- the associated projection.
-
setLayoutProperties
Sets the layout properties for this layout.- Specified by:
setLayoutPropertiesin interfaceLayout<Object,Grid> - Parameters:
props- the layout properties
-
getLayoutProperties
Gets the layout properties for this layout.- Specified by:
getLayoutPropertiesin interfaceLayout<Object,Grid> - Returns:
- the layout properties for this layout.
-
getLocation
Description copied from interface:LayoutGets the location of the specified object as determined by this layout.- Specified by:
getLocationin interfaceLayout<Object,Grid> - Parameters:
obj- the object whose location we want.- Returns:
- the location of the object.
-
update
public void update()Description copied from interface:LayoutUpdates this layout. -
getName
Description copied from interface:LayoutGets the name of the layout -
getBoundingBox
Description copied from interface:LayoutGets a bounding box that describes the extent of this layout in location coordinates.- Specified by:
getBoundingBoxin interfaceLayout<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.
-