PathEngine home previous: iPathEngine::buildRegularSourceTiling()next: iPathEngine::collisionPreprocessVersionIsCompatible()
Contents, API Reference, Interfaces, iPathEngine, buildRegularSourceTiling_RoundUpForVoxels

iPathEngine::buildRegularSourceTiling_RoundUpForVoxels()

Description

Returns a newly created Interface iSourceTiling object that can be used to perform 'tile-by-tile' content processing.

tileSize will be rounded up to a multiple of the specified voxel size, and then the world range increased as necessary to ensure that the last tile in each direction is also a multiple of this voxel size.

Syntax

iSourceTiling* buildRegularSourceTiling_RoundUpForVoxels(const cHorizontalRange& worldRange, tSigned32 tileSize, tSigned32 voxelSize);

Parameters

worldRange The minimum and maximum X and Y coordinates for world geometry covered by the tiling.
This range must be non-empty, i.e. the maximum values for each coordinate must be greater than the corresponding minimum values.
tileSize The horizontal size of each tile.
Must be greater than zero.
voxelSize The horizontal size of each voxel.
Must be greater than zero.

Return Value

A newly created Interface iSourceTiling object, to encapsulate the tiling specified.

Remarks

The created Interface iSourceTiling should be explicitly deleted when no longer required, and will also be deleted if iPathEngine::deleteAllObjects() is called - in either case the pointer can no longer be used.


Documentation for PathEngine release 5.24 - Copyright © 2002-2010 PathEnginenext: iPathEngine::collisionPreprocessVersionIsCompatible()