public Relation(DateTimeOffset moment, Position one, Position another) { Moment = moment; if (one.Owner > another.Owner) { SuperiorPosition = one; InferiorPosition = another; } else { SuperiorPosition = another; InferiorPosition = one; } Aspect = Aspects.AspectBetween(SuperiorPosition.Longitude, InferiorPosition.Longitude); ReferenceAngle = new Rectascension(InferiorPosition.Longitude - SuperiorPosition.Longitude).Reference; if (Aspect != null) { Orb = Aspect.OrbOf(InferiorPosition.Longitude - SuperiorPosition.Longitude); Flag = new RelationFlag(this); } }
public Aspects AspectBetween(Angle start, Angle end) { return(Aspects.AspectBetween(Outstandings, start, end)); }