Click or drag to resize
SoLDMTileVisitorGetVolumeGeomWeight Method

Assigns a weight based on distance to a data set geometry.

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public virtual float GetVolumeGeomWeight(
	float distToGeom,
	float geometryPriority
)

Parameters

distToGeom
Type: SystemSingle
geometryPriority
Type: SystemSingle

Return Value

Type: Single
Remarks

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.

See Also