()
| 482 | } |
| 483 | /** |
| 484 | * Returns whether the PLY file contains a mesh. |
| 485 | * @return {@code true} if the file contains mesh data (vertices and faces) |
| 486 | */ |
| 487 | public boolean hasFaces() { |
| 488 | return hasFaces; |
| 489 | } |
| 490 | private Input getInput() throws IOException { |
| 491 | if (fileFormat==null) { |
| 492 | return new AsciiInput(Files.newInputStream(file)); |
| 493 | } else { |
no outgoing calls
no test coverage detected