public bool Equals(NetworkLink <T> o) { if (o == null) { return(false); } if (!Target.Equals(o.Target)) { return(false); } return(true); }
private void OnLinkRemove(ISatellite a, NetworkLink <ISatellite> link) { mEdges.Remove(new BidirectionalEdge <ISatellite>(a, link.Target, link.Port)); }
public static double DistanceTo(this ISatellite a, NetworkLink <ISatellite> b) { return(Vector3d.Distance(a.Position, b.Target.Position)); }