All files packages/tools/src/utilities/math/polyline

29.76% Statements 153/514
29.41% Branches 75/255
32.5% Functions 13/40
29.37% Lines 141/480

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
88.88% 24/27 75% 3/4 100% 1/1 88.46% 23/26
areLineSegmentsIntersecting.ts
60% 18/30 55.76% 29/52 66.66% 2/3 60% 18/30
combinePolyline.ts
0% 0/105 0% 0/34 0% 0/12 0% 0/97
containsPoint.ts
64.28% 18/28 53.57% 15/28 100% 1/1 62.96% 17/27
containsPoints.ts
83.33% 5/6 50% 1/2 100% 1/1 75% 3/4
decimate.ts
2.63% 1/38 0% 0/11 0% 0/1 2.85% 1/35
getAABB.ts
65.62% 21/32 59.09% 13/22 100% 1/1 67.85% 19/28
getArea.ts
100% 8/8 100% 0/0 100% 1/1 100% 7/7
getClosestLineSegmentIntersection.ts
0% 0/23 0% 0/7 0% 0/2 0% 0/22
getFirstLineSegmentIntersectionIndexes.ts
100% 12/12 100% 5/5 100% 1/1 100% 11/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
94.11% 16/17 75% 3/4 100% 1/1 93.33% 14/15
getSubPixelSpacingAndXYDirections.ts
20.45% 9/44 7.14% 1/14 100% 1/1 20.45% 9/44
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
90% 9/10 75% 3/4 100% 1/1 87.5% 7/8
isClosed.ts
85.71% 6/7 50% 1/2 100% 1/1 85.71% 6/7
isPointInsidePolyline3D.ts
0% 0/14 0% 0/3 0% 0/1 0% 0/12
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