How to get triangulated data form the polylinevolume mesh?

Hello Team,
I want to get triangulated data from the polyline volume, Is it possible using cesium library ? or do we need to take help of any other library ?

Thanks !!
Looking forward to learn more.