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

Method Disjoint

path_intersection.go:2446–2448  ·  view source on GitHub ↗

Disjoint is the inverse of Intersects.

()

Source from the content-addressed store, hash-verified

2444
2445// Disjoint is the inverse of Intersects.
2446func (rel Relation) Disjoint() bool {
2447 return (rel & 0x1B) == 0
2448}
2449
2450// Intersects returns true if both shapes have at least one point in common, ie. they may
2451// touch/overlap/contain/equal.

Callers 2

TestPathRelateFunction · 0.80
drawFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestPathRelateFunction · 0.64