Searched refs:cos_d (Results 1 – 3 of 3) sorted by relevance
91 CT cos_d = sin_lat1*sin_lat2 + cos_lat1*cos_lat2*cos_dlon; in apply() local93 if (cos_d < -c1) in apply()94 cos_d = -c1; in apply()95 else if (cos_d > c1) in apply()96 cos_d = c1; in apply()98 CT const d = acos(cos_d); // [0, pi] in apply()107 CT const one_minus_cos_d = c1 - cos_d; in apply()108 CT const one_plus_cos_d = c1 + cos_d; in apply()145 if (cos_d >= c0) in apply()
113 CT const cos_d = c1 - c2 * L; in apply() local114 CT const d = acos(cos_d); in apply()132 CT const E = c2 * cos_d; in apply()
135 CT const cos_d = cos(d); in apply() local141 CT const V = cos_u * cos_d - sin_u * sin_d; in apply()147 X = math::sqr(C2) * sin_d * cos_d * (2 * math::sqr(V) - c1); in apply()