English

Separating bichromatic point sets in the plane by restricted orientation convex hulls

Computational Geometry 2022-09-12 v1

Abstract

We explore the separability of point sets in the plane by a restricted-orientation convex hull, which is an orientation-dependent, possibly disconnected, and non-convex enclosing shape that generalizes the convex hull. Let RR and BB be two disjoint sets of red and blue points in the plane, and O\mathcal{O} be a set of k2k \geq 2 lines passing through the origin. We study the problem of computing the set of orientations of the lines of O\mathcal{O} for which the O\mathcal{O}-convex hull of RR contains no points of BB. For k=2k=2 orthogonal lines we have the rectilinear convex hull. In optimal O(nlogn)O(n \log n) time and O(n)O(n) space, n=R+Bn = \vert R \vert + \vert B \vert, we compute the set of rotation angles such that, after simultaneously rotating the lines of O\mathcal{O} around the origin in the same direction, the rectilinear convex hull of RR contains no points of BB. We generalize this result to the case where O\mathcal{O} is formed by k2k \geq 2 lines with arbitrary orientations. In the counter-clockwise circular order of the lines of O\mathcal{O}, let αi\alpha_i be the angle required to clockwise rotate the iith line so it coincides with its successor. We solve the problem in this case in O(1/ΘNlogN)O(1/\Theta \cdot N \log N) time and O(1/ΘN)O(1/\Theta \cdot N) space, where Θ=min{α1,,αk}\Theta = \min \{ \alpha_1,\ldots,\alpha_k \} and N=max{k,R+B}N=\max\{k,\vert R \vert + \vert B \vert \}. We finally consider the case in which O\mathcal{O} is formed by k=2k=2 lines, one of the lines is fixed, and the second line rotates by an angle that goes from 00 to π\pi. We show that this last case can also be solved in optimal O(nlogn)O(n\log n) time and O(n)O(n) space, where n=R+Bn = \vert R \vert + \vert B \vert.

Keywords

Cite

@article{arxiv.2209.04258,
  title  = {Separating bichromatic point sets in the plane by restricted orientation convex hulls},
  author = {Carlos Alegría and David Orden and Carlos Seara and Jorge Urrutia},
  journal= {arXiv preprint arXiv:2209.04258},
  year   = {2022}
}
R2 v1 2026-06-28T01:00:33.510Z