Convert child local position to world Position

How can i convert downpole and upPole position from local to world position ? Is there any built in functions to calculate

This could be done in a several ways,

A (Hard way): Invert transform calculation based on parent/parents
B (Easy way): Take data from entity worldTransform array, X - [12], Y - [13], Z - [14]