MCPcopy Create free account
hub / github.com/tdewolff/canvas / Has

Method Has

path_intersection_util.go:123–125  ·  view source on GitHub ↗

Has returns true if there are secant/tangent intersections.

()

Source from the content-addressed store, hash-verified

121
122// Has returns true if there are secant/tangent intersections.
123func (zs Intersections) Has() bool {
124 return 0 < len(zs)
125}
126
127// HasSecant returns true when there are secant intersections, i.e. the curves intersect and cross (they cut).
128func (zs Intersections) HasSecant() bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected