(t, e)
| 25801 | return (this.renderHull(t), t.value()); |
| 25802 | } |
| 25803 | renderTriangle(t, e) { |
| 25804 | const n = null == e ? (e = new JF()) : void 0, |
| 25805 | { points: r, triangles: i } = this, |
| 25806 | o = 2 * i[(t *= 3)], |
| 25807 | a = 2 * i[t + 1], |
| 25808 | s = 2 * i[t + 2]; |
| 25809 | return ( |
| 25810 | e.moveTo(r[o], r[o + 1]), |
| 25811 | e.lineTo(r[a], r[a + 1]), |
| 25812 | e.lineTo(r[s], r[s + 1]), |
| 25813 | e.closePath(), |
| 25814 | n && n.value() |
| 25815 | ); |
| 25816 | } |
| 25817 | *trianglePolygons() { |
| 25818 | const { triangles: t } = this; |
| 25819 | for (let e = 0, n = t.length / 3; e < n; ++e) |
no test coverage detected