Пример #1
0
def getIsLarge(loop, radius):
	'Determine if the loop is large enough.'
	return euclidean.getMaximumSpan(loop) > 2.01 * abs(radius)
Пример #2
0
def isLargeSameDirection(inset, loop, radius):
    "Determine if the inset is in the same direction as the loop and it is large enough."
    if euclidean.isWiddershins(inset) != euclidean.isWiddershins(loop):
        return False
    return euclidean.getMaximumSpan(inset) > 2.01 * abs(radius)
Пример #3
0
def isLargeSameDirection( inset, loop, radius ):
	"Determine if the inset is in the same direction as the loop and it is large enough."
	if euclidean.isWiddershins( inset ) != euclidean.isWiddershins( loop ):
		return False
	return euclidean.getMaximumSpan( inset ) > 2.01 * abs( radius )