How to get UE location and height from triangulation from Core network?

Hello Experts

How to get UE location and height from triangulation from Core network?

Are these patented by any chance?

Appreciate any pointers.