gdCalculateDensityValue: Calculate density value for a data record
Description
Calculate density value for a data record.
By default for the calculation a linear search is performed on normalized
generative data. When a search tree is used search is performed on a tree
for generative data which is built once in the first function call.