STATE_track_get_point_element
point element can be 0 or 1 or 2 0 means get the x element. 1 ==> y. 2 ==>z note that if the point_index or the element number are out of range the function returns 0. there is no way to know if the 0 is because of error or no.