I may have identified a potential bug in geodeticConversion::PCPF2LLA. The latitude is computed as:
llaPosition[0] = atan2( sqrt(pow(pcpfPosition[0],2.) + pow(pcpfPosition[1],2.)), pcpfPosition.norm());
I believe this should be:
llaPosition[0] = atan2(pcpfPosition[2], sqrt(pow(pcpfPosition[0], 2.0) + pow(pcpfPosition[1], 2.0)));
Is this function depreciated, or is a fix required?
Thank you!