private boolean withinCorner() {
   return (segment != null && !segment.isUnknown() && segment.isCorner()) || situation.isCorner();
 }