We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a10cdc7 commit d95617eCopy full SHA for d95617e
BezierKit/Library/PathComponent.swift
@@ -318,10 +318,8 @@ import Foundation
318
let isClosed = self.isClosed
319
self.bvh.enumerateSelfIntersections { i1, i2 in
320
var elementIntersections: [Intersection] = []
321
- // TODO: fix behavior for `crossingsRemoved` when there are self intersections at t=0 or t=1 and re-enable
322
- // TODO: unfortunately we badly need more tests for all these obscure codepaths
323
if i1 == i2 {
324
- // we are intersecting a path element against itself
+ // we are intersecting a path element against itself (only possible with cubic or higher order)
325
if self.order(at: i1) == 3 {
326
elementIntersections = self.cubic(at: i1).selfIntersections(accuracy: accuracy)
327
}
0 commit comments