Getting Volume of An Area Using Point Cloud

1. A concise explanation of the problem you’re experiencing.

I am tasked with developing a system in which a user will upload point cloud data of an area and based on the polygon that the user draws we will be able to calculate the volume of that area or stockpile volume of that polygon. Can this be achieved in CesiumJS.

2. The Cesium version you’re using, your operating system and browser.

Cesium version 1.64 windows 10.

I stumble upon this other framework named potree and it has the feature to do so. Here is the link Potree Volume Calculator. A solution in cesium will still be preferred.