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

Function triArea

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

Source from the content-addressed store, hash-verified

25 yint = y
26 return slope, yint
27def triArea(a,b,c):
28 h=dis(a,b)
29 m,y = findMY(a,b)
30 b=lineDis(m,y,c)
31 return .5*h*b
32
33

Callers

nothing calls this directly

Calls 3

disFunction · 0.85
findMYFunction · 0.85
lineDisFunction · 0.85

Tested by

no test coverage detected