Reads edge indices for a mesh, returning a typed array view into the underlying buffer.
Returns undefined if the mesh has no edges.
Validates the on-disk layout against the buffer's byte length — a crafted or truncated
t8gd file must not be able to produce an OOB view or a DataView RangeError.
The returned indices reference positions in the t8gd vertex array (position-deduplicated,
one entry per unique XYZ). This is the same index space as deflateToRef writes into
dst.positions. Consumers that expand vertices for per-vertex normals must be aware that
edge indices do NOT map into the expanded array — use the original positions for lookup.
Reads edge indices for a mesh, returning a typed array view into the underlying buffer. Returns undefined if the mesh has no edges.
Validates the on-disk layout against the buffer's byte length — a crafted or truncated t8gd file must not be able to produce an OOB view or a DataView RangeError.
The returned indices reference positions in the t8gd vertex array (position-deduplicated, one entry per unique XYZ). This is the same index space as deflateToRef writes into
dst.positions. Consumers that expand vertices for per-vertex normals must be aware that edge indices do NOT map into the expanded array — use the original positions for lookup.