class BlockAreaWeighting extends AbstractAdjustedWeighting {

    @Override
    public double calcEdgeWeight(EdgeIteratorState edgeState, boolean reverse) {
        if (blockArea.intersects(edgeState))
            return Double.POSITIVE_INFINITY;

        return superWeighting.calcEdgeWeight(edgeState, reverse);
    }

    public  BlockAreaWeighting(Weighting superWeighting, GraphEdgeIdFinder.BlockArea blockArea);

}