* Create a 2D array for establishing stroke connections * @private * @chainable
()
| 1291 | * @chainable |
| 1292 | */ |
| 1293 | _makeTriangleEdges() { |
| 1294 | this.edges.length = 0; |
| 1295 | |
| 1296 | for (let j = 0; j < this.faces.length; j++) { |
| 1297 | this.edges.push([this.faces[j][0], this.faces[j][1]]); |
| 1298 | this.edges.push([this.faces[j][1], this.faces[j][2]]); |
| 1299 | this.edges.push([this.faces[j][2], this.faces[j][0]]); |
| 1300 | } |
| 1301 | |
| 1302 | return this; |
| 1303 | } |
| 1304 | |
| 1305 | /** |
| 1306 | * @example |
no test coverage detected