MCPcopy Create free account
hub / github.com/Fields2Cover/Fields2Cover / getAngleDiffAbs

Method getAngleDiffAbs

include/fields2cover/types/Geometry_impl.hpp:204–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202
203template <class T, OGRwkbGeometryType R>
204double Geometry<T, R>::getAngleDiffAbs(double a, double b) {
205 const auto pi = boost::math::constants::pi<double>();
206 return pi - fabs(mod_2pi(b - a) - pi);
207}
208
209template <class T, OGRwkbGeometryType R>
210double Geometry<T, R>::getAngleAvg(double a, double b) {

Callers 2

IsPathCorrectFunction · 0.80

Calls

no outgoing calls