def getMinimumRadius(beginComplexSegmentLength, endComplexSegmentLength, radius):
 return min(abs(radius), (0.5 * min(beginComplexSegmentLength, endComplexSegmentLength)))

def getMinimumRadius ( beginComplexSegmentLength , endComplexSegmentLength , radius ) : return min ( abs ( radius ) , ( 0.5 * min ( beginComplexSegmentLength , endComplexSegmentLength ) ) )
get minimum radius .