SoLDMTileVisitorGetVolumeGeomWeight Method |
Assigns a weight based on distance to a data set geometry.
Namespace: OIV.LDM
May be overridden by the application. distToGeom is the signed distance from the data set to the considered tile in data coordinates. < 0 means the tile is outside the data set.
0 means the tile is inside the data set.
= 0 means the tile intersects the data set. (the normal of a geometry plane is oriented towards increasing data (from voxel 0 to 1)) The geometryPriority argument is the weight of the geometry considered. The returned weight must be between 0 and 1. Default returns geometryPriority if the distance is null, else 0.