When is a ball out of bounds?

A ball is out of bounds (OB) only when all of it lies outside the boundary of the golf course. The boundary is defined by a white line. If no line is present, by white stakes or other objects specified in the Local Rules.
More details about OB can be found in the Out of Bounds section.