MCPcopy Index your code
hub / github.com/tdewolff/canvas / isIncreasing

Function isIncreasing

path_intersection_test.go:150–157  ·  view source on GitHub ↗
(a, b Point)

Source from the content-addressed store, hash-verified

148}
149
150func isIncreasing(a, b Point) bool {
151 if b.X < a.X {
152 return false
153 } else if a.X == b.X && b.Y < a.Y {
154 return false
155 }
156 return true
157}
158
159func TestIntersectionLineLineBentleyOttmann(t *testing.T) {
160 var tts = []struct {

Calls

no outgoing calls

Tested by

no test coverage detected