All files tools/src/utilities/math/polyline

3.09% Statements 28/905
0.91% Branches 5/544
2.89% Functions 2/69
3.08% Lines 26/844

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
3.7% 1/27 0% 0/4 0% 0/1 3.84% 1/26
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% 0/103 0% 0/43 0% 0/11 0% 0/93
containsPoint.ts
0% 0/28 0% 0/28 0% 0/1 0% 0/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
4.34% 2/46 0% 0/16 0% 0/1 4.34% 2/46
getWindingDirection.ts
100% 2/2 50% 1/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% 0/163 0% 0/130 0% 0/13 0% 0/153
isClosed.ts
0% 0/7 0% 0/2 0% 0/1 0% 0/7
isPointInsidePolyline3D.ts
0% 0/14 0% 0/3 0% 0/1 0% 0/12
planarFreehandROIInternalTypes.ts
0% 0/0 0% 0/0 0% 0/0 0% 0/0
pointCanProjectOnLine.ts
5.26% 1/19 0% 0/8 0% 0/1 5.26% 1/19
pointsAreWithinCloseContourProximity.ts
50% 1/2 100% 0/0 0% 0/1 50% 1/2
projectTo2D.ts
5.88% 1/17 0% 0/4 0% 0/2 6.66% 1/15
robustSegmentIntersection.ts
2.17% 1/46 0% 0/40 0% 0/4 2.22% 1/45
subtractPolylines.ts
0% 0/121 0% 0/80 0% 0/8 0% 0/113