Documentation

CslibFrontier.Foundations.Geometry.StarConvexEscape

Straight escape from a star-convex obstacle #

From a point in a compact convex region but outside a star-convex obstacle, continue the ray from the star center to the region's frontier. Star convexity keeps the entire segment beyond the starting point clear of the obstacle. This applies to a union of straight spokes at a common center inside a bounding region.

theorem Cslib.exists_segment_to_frontier_avoiding_starConvex {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {K S : Set E} {c z : E} (hK : IsCompact K) (hconv : Convex ℝ K) (hstar : StarConvex ℝ c S) (hc : c ∈ S) (hz : z ∈ K) (hzS : z ∉ S) :
∃ y ∈ frontier K, segment ℝ z y ⊆ K \ S

From a point of a compact convex region outside a star-convex obstacle, a straight segment in the region reaches its frontier without touching the obstacle.