private function queryFloat(string $function, ...$parameters) : float
    {
        [$result] = $this->query($function, $parameters, false);

        if ($result === null) {
            throw GeometryEngineException::operationYieldedNoResult();
        }

        return (float) $result;
    }
private function queryFloat(string $function, ...$parameters) : float
    {
        [$result] = $this->query($function, $parameters, false);

        if ($result === null) {
            throw GeometryEngineException::operationYieldedNoResult();
        }

        return (float) $result;
    }
private function queryFloat ( string $ function , ... $ parameters ) : float { [ $ result ] = $ this -> query ( $ function , $ parameters , false ) ; if ( $ result === null ) { throw GeometryEngineException :: operationYieldedNoResult ( ) ; } return ( float ) $ result ; }
Queries a GIS function returning a floating point value.

@param string   $function   The SQL GIS function to execute.
@param mixed ...$parameters The Geometry objects or scalar values to pass as parameters.

@return float

@throws GeometryEngineException
Queries a GIS function returning a floating point value .