Skip to content

Commit ed793f8

Browse files
committed
adding smallscale modification to graham scan.
1 parent eeea17f commit ed793f8

File tree

1 file changed

+0
-4
lines changed
  • chapters/computational_geometry/gift_wrapping/graham_scan/code/julia

1 file changed

+0
-4
lines changed

chapters/computational_geometry/gift_wrapping/graham_scan/code/julia/graham.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ type Point
33
y::Float64
44
end
55

6-
function dist(point1::Point, point2::Point)
7-
return sqrt((point1.x - point2.x)^2 + (point1.y - point2.y)^2)
8-
end
9-
106
function ccw(a::Point, b::Point, c::Point)
117
return ((b.x - a.x)*(c.y - a.y) - (b.y - a.y)*(c.x - a.x))
128
end

0 commit comments

Comments
 (0)