Return just the points on one z-layer of the matrix - the same points getAllPoints would find, filtered down to a single layer. A convenience for the repeated getAllPoints(matrix).filter(p => p.z === z) pattern.
The matrix (or any level of it) to retrieve points from.
The layer to keep points from.
Return just the points on one z-layer of the matrix - the same points getAllPoints would find, filtered down to a single layer. A convenience for the repeated getAllPoints(matrix).filter(p => p.z === z) pattern.