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

@param arrowLength The length of the arrow
@return The head length
Compute the actual head length based on the absolute / relative head length and the minimum / maximum head length @param arrowLength The length of the arrow @return The head length
private double computeActualHeadLength(double arrowLength)
    {
        double actualHeadLength = headLength;
        if (relativeHeadLength)
        {
            actualHeadLength *= arrowLength;
        }
        actualHeadLength = Math.max(minHeadLength, actualHeadLength);
        actualHeadLength = Math.min(maxHeadLength, actualHeadLength);
        return actualHeadLength;
    }
private double computeActualHeadLength ( double arrowLength ) { double actualHeadLength = headLength ; if ( relativeHeadLength ) { actualHeadLength *= arrowLength ; } actualHeadLength = Math . max ( minHeadLength , actualHeadLength ) ; actualHeadLength = Math . min ( maxHeadLength , actualHeadLength ) ; return actualHeadLength ; }
Compute the actual head length, based on the absolute/relative
 head length and the minimum/maximum head length
Compute the actual head length based on the absolute / relative head length and the minimum / maximum head length