So you would never accidentally warp inside a planet.
Our gaze into the heavens is much better at spotting stars than their dark orbiting bodies, and we have fingers left over from one hand counting the number of observation platforms observing deep space from above our shimmering atmosphere.
The sun contains roughly 99.8% of the mass of the solar system, and is by far the largest object in it. But you wouldn't hit the sun randomly either. Space is just so damn large.
The distance from the sun to Pluto is about 5.9 billion km. The radius of the sun is about 696,340 km. The ratio of radii is about 8,473. Cube that to get the ratio of volumes, and you get 608,263,848,559 for the ratio of volume in a sphere out to Pluto vs volume of the sun.
(Doing the numbers, I'm actually surprised: I had expected the ratio of radii to be bigger than 8,473. But I'm not surprised that the sun barely takes up any space.)
Arguably, the entire heliosphere is part of the Sun's atmosphere, and it reaches well beyond Pluto. If I were in a relativistic spaceship, I think I'd want to apply the brakes well before slamming into the heliosphere.
What do you call the heliosphere of a star that isn't the Sun? The stellosphere?
"Stellosphere" is wrong, because "stella" is Latin, and "sphere" is from Greek. It should be "asterosphere", but that's a word I've never seen nor heard.
If we're still talking about Star Trek, then on a solar scale those ships can stop on a dime. They're not going to hit an unmapped planet while putting around.
Given that Star Trek's impulse drives are already traveling at up to around 0.9c, parking somewhere between the earth and the moon (which is about 1 light-second out), the ratio of space to volume of earth becomes 219,648.
That ratio growth with the cube of the distance to the planet.