MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / MinDistance

Function MinDistance

general.cpp:509–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507// normally their difference, but we have to check if near the Aries point.
508
509real MinDistance(real deg1, real deg2)
510{
511 real r;
512
513 r = RAbs(deg1-deg2);
514 return r <= rDegHalf ? r : rDegMax - r;
515}
516
517
518// This is just like the above routine, except the min distance value returned

Callers 15

FEvalFunctionFunction · 0.85
ChartListingRelationFunction · 0.85
ChartMidpointRelationFunction · 0.85
CastRelationFunction · 0.85
ChartAstroGraphRelationFunction · 0.85
DrawSidebarFunction · 0.85
ChartInDaySearchFunction · 0.85
ChartTransitSearchFunction · 0.85
ChartHorizonRisingFunction · 0.85
XChartTelescopeFunction · 0.85
XChartMoonsFunction · 0.85
MidpointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected