As a newcomer and non-native English speaker, please bear with me.
Currently, I am working on displaying multiple point clouds simultaneously using the amazing Potree 1.4RC. However, I am looking to automatically read the height of a point cloud by analyzing all the points to detect the maximum dimension. So far, I have utilized the following code:
Var Potree.Measure areaMeasurement = new ( ) ;
areaMeasurement.addMarker (new THREE.Vector3 (0, 0 , 0)) ;
areaMeasurement.addMarker (new THREE.Vector3 ( -10 , 0 , 0 ) ) ;
viewer.measuringTool.addMeasurement ( areaMeasurement ) ;
However, my points are predefined. My main question is how can I determine the maximum height or width of a PointCloud without relying on the bounding box?
Furthermore, how can I obtain a spatial coordinate (e.g., Z) when provided with others (e.g., X and Y) in Potree or Three.js? Is it possible to automatically detect these maximum values and retrieve their coordinates?
Thank you in advance, Best regards.