Take a look at this object:
https://i.sstatic.net/V0xvI.png
Where each property in system(1) holds tridimensional coordinates. Is there a more efficient method to consolidate properties with the same prefix without nesting loops within loops? My goal is to accomplish the following:
// Coordinates of points in systems prefixed with lwb
setOfValidPoint1 = [[3.370316528, 0.050628689000000004, 0.20987313800000001],
[3.4050299070000003, 0.559079376, 0.267691772],
[2.990670776, 0.05074561700000001, 0.21216622899999998]]
// Coordinates of points in systems prefixed with lwb
setOfValidPoint2 = [[3.440000732, 0.04970323, 0.210814064],
[3.4748417970000003, 0.5596490780000001, 0.268024719]]
// Coordinates of points in systems prefixed with mrf (one point)
setOfValidPoint3 = [[3.51507, 0.777428, 0.36277]]
And so on...