Ejemplo n.º 1
0
        public double PickInCurrentRange(double orbit, double minLimit)
        {
            double retValue;

            if (ZonesOfInterest.GetRangeWidth(orbit) < minLimit)
            {
                do
                {
                    retValue = ZonesOfInterest.PickInRange(ZonesOfInterest.GetRange(orbit));
                }while (Math.Abs(retValue - orbit) < 0.01);
            }
            else
            {
                do
                {
                    retValue = ZonesOfInterest.PickInRange(ZonesOfInterest.GetRange(orbit));
                }while (retValue < orbit + minLimit);
            }

            return(retValue);
            //return this.zonesOfInterest.pickInRange(this.zonesOfInterest.getRange(orbit));
        }
Ejemplo n.º 2
0
 public double GetClosestDistToForbiddenZone(double orbit)
 {
     return(ZonesOfInterest.GetClosestDistFromForbiddenZone(orbit));
 }
Ejemplo n.º 3
0
 public void SortCleanZones()
 {
     ZonesOfInterest.SortCleanZones();
 }
Ejemplo n.º 4
0
 public void SortForbiddenZones()
 {
     ZonesOfInterest.SortForbiddenZones();
 }
Ejemplo n.º 5
0
 public void CreateCleanZones()
 {
     ZonesOfInterest.CreateCleanZones(InnerRadius(InitLumin, InitMass), OuterRadius(InitMass));
 }
Ejemplo n.º 6
0
 public int GetAdjacencyMod(double orbital)
 {
     return(ZonesOfInterest.GetAdjacencyMod(orbital));
 }
Ejemplo n.º 7
0
 public double GetMaxCleanOrbit()
 {
     return(ZonesOfInterest.GetMaximalCleanZone());
 }
Ejemplo n.º 8
0
 public double CheckEccRange()
 {
     return(ZonesOfInterest.VerifyRange(GetEccentricRange()));
 }
Ejemplo n.º 9
0
 public bool VerifyForbiddenOrbit(double incoming)
 {
     return(ZonesOfInterest.IsWithinForbiddenZone(incoming));
 }
Ejemplo n.º 10
0
 public double GetNextCleanOrbit(double orbit, int flag)
 {
     return(ZonesOfInterest.GetNextCleanOrbit(orbit, flag));
 }
Ejemplo n.º 11
0
 public bool VerifyCleanOrbit(double incoming)
 {
     return(ZonesOfInterest.IsWithinCleanZone(incoming));
 }
Ejemplo n.º 12
0
 public double PickInRange(Range incoming)
 {
     return(ZonesOfInterest.PickInRange(incoming));
 }
Ejemplo n.º 13
0
 public double VerifyRange(Range incoming)
 {
     return(ZonesOfInterest.VerifyRange(incoming));
 }
Ejemplo n.º 14
0
 public double GetClosestForbiddenZoneRatio(double orbit)
 {
     return(ZonesOfInterest.GetClosestForbiddenZoneRatio(orbit));
 }
Ejemplo n.º 15
0
 public double GetRangeWidth(double orbit)
 {
     return(ZonesOfInterest.GetRangeWidth(orbit));
 }
Ejemplo n.º 16
0
 //gas giant checks (all passthrough, but simplify  the call.
 public double CheckEpiRange()
 {
     return(ZonesOfInterest.VerifyRange(GetEpistellarRange()));
 }
Ejemplo n.º 17
0
 public int GetOwnership(double orbital)
 {
     return(ZonesOfInterest.GetOwnership(orbital));
 }
Ejemplo n.º 18
0
 public double CheckConRange()
 {
     return(ZonesOfInterest.VerifyRange(GetConventionalRange()));
 }
Ejemplo n.º 19
0
        //zones of interest functions - both to see if it's initated and to create it.

        //init formulas
        //passthrough functions
        public void CreateForbiddenZone(Range incoming, int primary, int secondary)
        {
            ZonesOfInterest.CreateForbiddenZone(incoming, primary, secondary);
        }