SoLDMTileVisitorGetROIWeight Method |
Assigns a weight based on distance to ROI.
Namespace: OIV.LDMAssembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic virtual float GetROIWeight(
int distToROI,
float geometryPriority
)
Public Overridable Function GetROIWeight (
distToROI As Integer,
geometryPriority As Single
) As Single
public:
virtual float GetROIWeight(
int distToROI,
float geometryPriority
)
abstract GetROIWeight :
distToROI : int *
geometryPriority : float32 -> float32
override GetROIWeight :
distToROI : int *
geometryPriority : float32 -> float32
Parameters
- distToROI
- Type: SystemInt32
- geometryPriority
- Type: SystemSingle
Return Value
Type:
Single
RemarksMay 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