()
| 477 | } |
| 478 | |
| 479 | @Override |
| 480 | public String toString() { |
| 481 | |
| 482 | if (this.elements == null) |
| 483 | return "Mesh(" + this.vertex(true).limit() / 3 + "("+getVertexLimit()+") points)"; |
| 484 | |
| 485 | int d = this.elements.getDimension(); |
| 486 | int num = this.elements.ints(true) |
| 487 | .limit() / d; |
| 488 | if (d == 2) |
| 489 | return "Mesh(" + num + " lines / " + this.vertex(true).limit() / 3 +"("+getVertexLimit()+") vertices)"; |
| 490 | |
| 491 | return "Mesh(" + num + " triangles / " + this.vertex(true).limit() / 3 + "("+getVertexLimit()+") vertices)"; |
| 492 | |
| 493 | // return "Mesh:"+(this.elements==null ? null : d)+"/"+(this.elements==null ? null : (this.elements.ints(true).limit()/ d))+" "+(this.vertex(true).limit()/3); |
| 494 | } |
| 495 | } |
nothing calls this directly
no test coverage detected