src/main/java/de/javagl/geom/ArrowCreator.java
/**
     * Compute the actual head width, based on the absolute/relative
     * head width and the minimum/maximum head width
     * 
     * @param arrowLength The length of the arrow
     * @return The head width
     */
Compute the actual head width, based on the absolute/relative
head width and the minimum/maximum head width

@param arrowLength The length of the arrow
@return The head width
Compute the actual head width based on the absolute / relative head width and the minimum / maximum head width @param arrowLength The length of the arrow @return The head width
private double computeActualHeadWidth(double arrowLength)
    {
        double actualHeadWidth = headWidth;
        if (relativeHeadWidth)
        {
            actualHeadWidth *= arrowLength;
        }
        actualHeadWidth = Math.max(minHeadWidth, actualHeadWidth);
        actualHeadWidth = Math.min(maxHeadWidth, actualHeadWidth);
        return actualHeadWidth;
    }
private double computeActualHeadWidth ( double arrowLength ) { double actualHeadWidth = headWidth ; if ( relativeHeadWidth ) { actualHeadWidth *= arrowLength ; } actualHeadWidth = Math . max ( minHeadWidth , actualHeadWidth ) ; actualHeadWidth = Math . min ( maxHeadWidth , actualHeadWidth ) ; return actualHeadWidth ; }
Compute the actual head width, based on the absolute/relative
 head width and the minimum/maximum head width
Compute the actual head width based on the absolute / relative head width and the minimum / maximum head width