示例#1
0
    public double Magnitude()
    {
        double phaseAngle = AASIlluminatedFraction.PhaseAngle(
            GetRadiusVector(jdeCorrected),
            AASEarth.RadiusVector(jd),
            vectorToEarthCorrected.Length());

        return(AASIlluminatedFraction.MarsMagnitudeMuller(
                   AASMars.RadiusVector(jdeCorrected),
                   vectorToEarthCorrected.Length(),
                   phaseAngle
                   ));
    }
示例#2
0
        public void RadiusVectorTest(double JD, bool bHighPrecision, double expectedRadiusVector)
        {
            double radiusVector = AASMars.RadiusVector(JD, bHighPrecision);

            Assert.Equal(expectedRadiusVector, radiusVector);
        }
示例#3
0
 public override double GetDistance()
 {
     return(AASMars.RadiusVector(jdeCorrected));
 }
示例#4
0
 protected override double GetRadiusVector(double JD)
 {
     return(AASMars.RadiusVector(JD));
 }
示例#5
0
    public float getDistMars()
    {
        float ret = distanceFactor * (float)AASMars.RadiusVector(JDNConv.getJulianDayNumberToday(), true);

        return(ret);
    }