Click or drag to resize
SoLDMTileVisitorGetROIWeight Method

Assigns a weight based on distance to ROI.

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public virtual float GetROIWeight(
	int distToROI,
	float geometryPriority
)

Parameters

distToROI
Type: SystemInt32
geometryPriority
Type: SystemSingle

Return Value

Type: Single
Remarks

May be overridden by the application. distToROI is the signed distance from the geometry ROI to a tile in data coordinates. < 0 means the tile is outside the ROI.

0 means the tile is inside the ROI.

= 0 means the tile intersects the ROI. The geometryPriority argument is the weight of the geometry considered. The returned weight must be between 0 and 1. Default returns 1 if the distance is >= 0, else 0.

See Also