Half-open horizontal ray crossings #
A segment contributes to the ray from z towards positive real infinity when its
intersection with the horizontal line through z lies strictly to the right. The lower
endpoint height is included and the upper endpoint height is excluded, independently of
the orientation of the segment. Horizontal segments contribute nothing.
The crossing test is characterized by actual real affine parameters, including crossings at the lower endpoint. These are original finite geometric calculations. They do not assert local constancy of a closed chain's parity or construct colors on graph faces.
The real coordinate where the supporting line of a nonhorizontal segment meets
height h. The formula is total; the horizontal case is excluded by RayCrosses.
Instances For
Crossing of the positive horizontal ray with the lower endpoint height included and the upper endpoint height excluded. The base point itself is excluded by a strict real coordinate comparison. Horizontal and degenerate segments never contribute.
Instances For
A horizontal segment contributes no ray crossing, even at its own height.
The half-open convention depends on height, not on the order of the endpoints.
At the first endpoint's height, the supporting-line intercept is that endpoint.
At the second endpoint's height, the supporting-line intercept is that endpoint.
A crossing is an intersection at an actual real segment parameter. The final strict height inequality is exactly the exclusion of the upper endpoint. No generic-position or nonhorizontal assumption is hidden: horizontal segments make both sides false.
Away from the endpoint heights and the supporting-line intercept, the ray-crossing test is constant in a neighborhood. This is a statement about an actual open neighborhood in the real plane, rather than finitely many test points. It does not handle cancellation of jumps at the endpoint heights of a closed segment chain.
Away from the endpoint heights, avoiding the actual segment is enough for local constancy. Points on extensions of the supporting line are included.
At an endpoint height of a nonhorizontal segment, its ray bit changes exactly when
that endpoint is to the right of the base point and the observation point moves below the
height. This includes either segment orientation and quantifies over a whole neighborhood.
The base point differs from the endpoint, as witnessed by hx.
The complete local change formula for a nonhorizontal segment off its actual support. Only endpoints on the positive horizontal ray can contribute jumps; each contributes once, with its actual occurrence retained. This includes observation points at endpoint heights.
The parity of a finite arrangement is constant near any point avoiding all endpoint heights and supporting lines. No geometry or topology provider is required. Endpoint-height cancellation for even arrangements is a further statement, not a premise hidden here.