public bool isEndpointTunnelable()
 {
     List<Vessel> endpoints = SpaceDockUtilities.GetSpaceDocks();
     foreach (Vessel sd in endpoints)
     {
         if (sd == this.vessel)
         {
             continue;
         }
         RemoteEndpoint potentialDock = new RemoteEndpoint(sd);
         if (potentialDock.GetPreciseDistanceToDestination(vessel).magnitude < HyperEndpoint.TUNNEL_JUMP_DISTANCE)
         {
             return true;
         }
     }
     return false;
 }
 public bool isEndpointLocal(Vessel v)
 {
     RemoteEndpoint potentialDock = new RemoteEndpoint(v);
     return (potentialDock.GetPreciseDistanceToDestination(vessel).magnitude < LOCAL_JUMP_DISTANCE);
 }