MCPcopy Create free account
hub / github.com/ActiveState/code / dis

Function dis

recipes/Python/576896_3_Point_Area_Finder/recipe-576896.py:1–2  ·  view source on GitHub ↗
(a,b)

Source from the content-addressed store, hash-verified

1def dis(a,b):
2 return ( (b[0]-a[0])**2 + (b[1]-a[1])**2 )**.5
3def lineDis(m,y,point):
4 """slope in decimal, y intercept, (x,y)"""
5 a = m

Callers 2

recipe-545418.pyFile · 0.85
triAreaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected