1 of 2

Japt, 10 bytes

ñ_íV'- m²x

Takes points as an array of three-item arrays and the base point an a single array, in that order. Does not take the size argument.

Try it online! or run the huge test case with -R to output one x,y,z per line.