Home Products Download Order Contacts

comp.graphics.algorithms

Subject: Re: cell complex indexing



W. Taylor Holliday wrote:
> Hi Folks,

> Question: what is a good way of indexing a rectilinear voxel grid (3d
> cell complex) such that you have an index for each cell (vertex, edge,
> quad face, cube)? and can easily find the facets and co-facets (incidence
> relationships) of a cell?

The obvious one: cartesian coordinates, e.g. a 3D array of voxels. If
you can't handle 3D arrayas, you can always map the triplet of indices
to a single index:

[i][j][k] --> [J*K*i + K*j + k]

--
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Reply


View All Messages in comp.graphics.algorithms

path:
cell complex indexing =>

Replies:
Re: cell complex indexing

Copyright 2006 WatermarkFactory.com. All Rights Reserved.