MCPcopy Create free account
hub / github.com/alignoth/alignoth / render

Method render

resources/vega.min.js:25761–25772  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

25759 return l;
25760 }
25761 render(t) {
25762 const e = null == t ? (t = new JF()) : void 0,
25763 { points: n, halfedges: r, triangles: i } = this;
25764 for (let e = 0, o = r.length; e < o; ++e) {
25765 const o = r[e];
25766 if (o < e) continue;
25767 const a = 2 * i[e],
25768 s = 2 * i[o];
25769 (t.moveTo(n[a], n[a + 1]), t.lineTo(n[s], n[s + 1]));
25770 }
25771 return (this.renderHull(t), e && e.value());
25772 }
25773 renderPoints(t, e) {
25774 (void 0 !== e ||
25775 (t && "function" == typeof t.moveTo) ||

Callers

nothing calls this directly

Calls 4

renderHullMethod · 0.95
moveToMethod · 0.45
lineToMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected