MCPcopy
hub / github.com/tdewolff/canvas / Equals

Method Equals

path_intersection_util.go:105–107  ·  view source on GitHub ↗
(o Intersection)

Source from the content-addressed store, hash-verified

103}
104
105func (z Intersection) Equals(o Intersection) bool {
106 return z.Point.Equals(o.Point) && Equal(z.T[0], o.T[0]) && Equal(z.T[1], o.T[1]) && angleEqual(z.Dir[0], o.Dir[0]) && angleEqual(z.Dir[1], o.Dir[1]) && z.Tangent == o.Tangent && z.Same == o.Same
107}
108
109func (z Intersection) String() string {
110 var extra string

Callers 7

intersectionLineLineFunction · 0.45
intersectionLineQuadFunction · 0.45
intersectionLineCubeFunction · 0.45
intersectionLineCircleFunction · 0.45
intersectionLineEllipseFunction · 0.45
intersectionCircleCircleFunction · 0.45

Calls 2

EqualFunction · 0.85
angleEqualFunction · 0.85

Tested by

no test coverage detected