All files tools/src/utilities/math/polyline

10.9% Statements 100/917
6.55% Branches 36/549
11.59% Functions 8/69
11.09% Lines 95/856

Press n or j to go to the next uncovered block, b, p or k for the previous block.

File Statements Branches Functions Lines
addCanvasPointsToArray.ts
7.14% 2/28 0% 0/4 0% 0/1 7.4% 2/27
areLineSegmentsIntersecting.ts
0% 0/30 0% 0/52 0% 0/3 0% 0/30
arePolylinesIdentical.ts
0% 0/40 0% 0/20 0% 0/1 0% 0/35
combinePolyline.ts
0.96% 1/104 0% 0/43 0% 0/11 1.06% 1/94
containsPoint.ts
85.71% 24/28 67.85% 19/28 100% 1/1 85.18% 23/27
containsPoints.ts
0% 0/6 0% 0/2 0% 0/1 0% 0/4
convexHull.ts
0% 0/21 0% 0/8 0% 0/4 0% 0/20
decimate.ts
2.63% 1/38 0% 0/11 0% 0/1 2.85% 1/35
getAABB.ts
0% 0/32 0% 0/22 0% 0/1 0% 0/28
getArea.ts
0% 0/8 100% 0/0 0% 0/1 0% 0/7
getClosestLineSegmentIntersection.ts
0% 0/23 0% 0/7 0% 0/2 0% 0/22
getFirstLineSegmentIntersectionIndexes.ts
0% 0/12 0% 0/5 0% 0/1 0% 0/11
getLineSegmentIntersectionsCoordinates.ts
0% 0/9 0% 0/1 0% 0/1 0% 0/8
getLineSegmentIntersectionsIndexes.ts
0% 0/11 0% 0/7 0% 0/1 0% 0/10
getLinesIntersection.ts
3.33% 1/30 0% 0/39 0% 0/1 3.33% 1/30
getNormal2.ts
0% 0/2 100% 0/0 0% 0/1 0% 0/2
getNormal3.ts
0% 0/21 0% 0/2 0% 0/2 0% 0/19
getSignedArea.ts
100% 17/17 100% 4/4 100% 1/1 100% 15/15
getSubPixelSpacingAndXYDirections.ts
5.55% 3/54 0% 0/21 0% 0/1 5.55% 3/54
getWindingDirection.ts
100% 2/2 100% 2/2 100% 1/1 100% 2/2
index.ts
0% 0/0 0% 0/0 0% 0/0 0% 0/0
intersectPolyline.ts
0% 0/10 0% 0/4 0% 0/1 0% 0/8
intersectPolylines.ts
0.6% 1/164 0% 0/130 0% 0/13 0.64% 1/154
isClosed.ts
85.71% 6/7 50% 1/2 100% 1/1 85.71% 6/7
isPointInsidePolyline3D.ts
42.85% 6/14 66.66% 2/3 100% 1/1 50% 6/12
planarFreehandROIInternalTypes.ts
0% 0/0 0% 0/0 0% 0/0 0% 0/0
pointCanProjectOnLine.ts
89.47% 17/19 75% 6/8 100% 1/1 89.47% 17/19
pointsAreWithinCloseContourProximity.ts
50% 1/2 100% 0/0 0% 0/1 50% 1/2
projectTo2D.ts
94.11% 16/17 50% 2/4 100% 2/2 93.33% 14/15
robustSegmentIntersection.ts
2.17% 1/46 0% 0/40 0% 0/4 2.22% 1/45
subtractPolylines.ts
0.81% 1/122 0% 0/80 0% 0/8 0.87% 1/114