SoLDMTileVisitorGetSurfaceGeomWeight Method |
Assigns a weight based on distance to a surface geometry.
Namespace: OIV.LDM
May be overridden by the application. distToGeom is the signed distance from the surface to the considered tile in data coordinates. < 0 means the tile is behind or outside the geometry.
0 means the tile is in front of or inside the geometry.
= 0 means the tile intersects the geometry. (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.