Opened 12 years ago

Closed 12 years ago

#139 closed enhancement (fixed)

Object3D - keep a spatial map

Reported by: MatthewWhiting Owned by: MatthewWhiting
Priority: normal Milestone: Release-1.2
Component: Code base Version: 1.1.13
Severity: normal Keywords:
Cc:

Description

Object3D has a function to return the spatial map, but it might make more sense to just keep this as a member. The marginal cost of this will be small, and will make the getSpatialSize function simpler.

In this idea, when a voxel is added we add the x,y position to the Object2D spatial map, in the same way that numVox is incremented.

Change History (1)

comment:1 Changed 12 years ago by MatthewWhiting

Milestone: Release-1.2Release-1.1.14
Resolution: fixed
Status: newclosed

This was done in [927] - seems to work fine, giving a bit of a speedup, so I think we can close this.

Note: See TracTickets for help on using tickets.