Reference
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
This page links to reports produced by the project build and quality tooling.
The Maven reports are generated during Maven site execution and are available after target/site is copied into the documentation output as mvn-site.
| Report | Description |
|---|---|
API reference generated as part of Maven site execution. |
|
Code coverage report generated during the Maven build. |
|
Unit test execution report. |
|
Code quality, issue, and coverage information from SonarCloud. |
|
Aggregation of project reports. |
|
Github repository |
Robustness and file size limits
Loaders validate the file contents instead of trusting declared sizes.
Malformed input is rejected with a LoaderException (or an IOException when the underlying stream ends or fails) and the loader is left unlocked so it can be reused.
Declared element counts never drive large allocations: data is read in chunks bounded by maxVerticesInChunk.
| Format | Malformed input that is rejected | Exception |
|---|---|---|
STL (binary) |
Files shorter than 84 bytes, or files whose length is smaller than |
|
PLY |
Truncated headers ( |
|
Binary (v2) |
Negative or non-multiple-of-4 chunk sizes, texture lengths that overflow or exceed the file, and files ending inside a chunk. |
|
OBJ |
Zero, negative or out-of-range face indices, and faces that can never fit in a chunk.
Garbage or binary input only produces |
|
MTL |
A file without |
|
Memory and size limits
-
Binary STL, PLY and binary v2 loaders use
MappedFileReaderAndWriter, which cannot map files larger thanInteger.MAX_VALUEbytes (2 GB). Larger files are rejected with anIOExceptionthat suggests usingFileReaderAndWriter, which streams files beyond 2 GB. -
skipoperations in bothFileReaderAndWriterandMappedFileReaderAndWritersupport counts above 2 GB. -
OBJ reads text line by line.
readLine()is not bounded, so memory is proportional to the longest line (lines of 4 MB or 1 million tokens load fine). -
Negative (relative) OBJ indices are not supported.