Maven module :un.api : api-image :
Class : un.impl.geometry.s3d.Grid
Extends/Implements : un.impl.geometry.AbstractGeometry un.impl.geometry.s3d.Geometry3D
Subclasses : -

A grid is an N dimension image used to fill space.
Values in the image should be interpreted as boolean values.
A value of true means the voxel is filled and can be used as if it was a cube.
TODO uncomplete class, just a draft for physics engine
author  Johann Sorel


Variables : -
Functions : Grid, Grid, getImage, getGeomToGrid, getGridToGeom, getDimension, getBoundingBox, getSurface, getVolume



public void Grid (BBox bbox, Extent.Long imageSize)


param  image
param  geomToGrid transform at voxel corner
public void Grid (Image image, Matrix geomToGrid)

public Image getImage ()

public Matrix getGeomToGrid ()

public Matrix getGridToGeom ()

public int getDimension ()

public BBox getBoundingBox ()

public double getSurface ()

public double getVolume ()