### Abstract

We present an O(nlog^{2}n) time and O(n) space algorithm for computing the shortest line segment that intersects a set of n given line segments or lines in the plane. If the line segments do not intersect the algorithm may be trimmed to run in O(nlog n) time. Furthermore, in combination with linear programming the algorithm will also find the shortest line segment that intersects a set of n isothetic rectangles in the plane in O(nlog k) time, where k is the combinatorial complexity of the space of transversals and k≤4 n. These results find application in: (1) line-fitting between a set of n data ranges where it is desired to obtain the shortest line-of-fit, (2) finding the shortest line segment from which a convex n-vertex polygon is weakly externally visible, and (3) determing the shortest line-of-sight between two edges of a simple n-vertex polygon, for which O(n) time algorithms are also given. All the algorithms are based on the solution to a new fundamental geometric optimization problem that is of independent interest and should find application in different contexts as well.

Original language | English (US) |
---|---|

Pages (from-to) | 93-119 |

Number of pages | 27 |

Journal | Computing |

Volume | 46 |

Issue number | 2 |

DOIs | |

State | Published - Jun 1 1991 |

### Fingerprint

### Keywords

- algorithms
- AMS Subject Classifications: 52.A30, 52.A10
- complexity
- computational geometry
- stabbing lines
- transversals

### ASJC Scopus subject areas

- Software
- Theoretical Computer Science
- Numerical Analysis
- Computer Science Applications
- Computational Theory and Mathematics
- Computational Mathematics

### Cite this

*Computing*,

*46*(2), 93-119. https://doi.org/10.1007/BF02239165

**Computing shortest transversals.** / Bhattacharya, B.; Toussaint, Godfried.

Research output: Contribution to journal › Article

*Computing*, vol. 46, no. 2, pp. 93-119. https://doi.org/10.1007/BF02239165

}

TY - JOUR

T1 - Computing shortest transversals

AU - Bhattacharya, B.

AU - Toussaint, Godfried

PY - 1991/6/1

Y1 - 1991/6/1

N2 - We present an O(nlog2n) time and O(n) space algorithm for computing the shortest line segment that intersects a set of n given line segments or lines in the plane. If the line segments do not intersect the algorithm may be trimmed to run in O(nlog n) time. Furthermore, in combination with linear programming the algorithm will also find the shortest line segment that intersects a set of n isothetic rectangles in the plane in O(nlog k) time, where k is the combinatorial complexity of the space of transversals and k≤4 n. These results find application in: (1) line-fitting between a set of n data ranges where it is desired to obtain the shortest line-of-fit, (2) finding the shortest line segment from which a convex n-vertex polygon is weakly externally visible, and (3) determing the shortest line-of-sight between two edges of a simple n-vertex polygon, for which O(n) time algorithms are also given. All the algorithms are based on the solution to a new fundamental geometric optimization problem that is of independent interest and should find application in different contexts as well.

AB - We present an O(nlog2n) time and O(n) space algorithm for computing the shortest line segment that intersects a set of n given line segments or lines in the plane. If the line segments do not intersect the algorithm may be trimmed to run in O(nlog n) time. Furthermore, in combination with linear programming the algorithm will also find the shortest line segment that intersects a set of n isothetic rectangles in the plane in O(nlog k) time, where k is the combinatorial complexity of the space of transversals and k≤4 n. These results find application in: (1) line-fitting between a set of n data ranges where it is desired to obtain the shortest line-of-fit, (2) finding the shortest line segment from which a convex n-vertex polygon is weakly externally visible, and (3) determing the shortest line-of-sight between two edges of a simple n-vertex polygon, for which O(n) time algorithms are also given. All the algorithms are based on the solution to a new fundamental geometric optimization problem that is of independent interest and should find application in different contexts as well.

KW - algorithms

KW - AMS Subject Classifications: 52.A30, 52.A10

KW - complexity

KW - computational geometry

KW - stabbing lines

KW - transversals

UR - http://www.scopus.com/inward/record.url?scp=0025791235&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=0025791235&partnerID=8YFLogxK

U2 - 10.1007/BF02239165

DO - 10.1007/BF02239165

M3 - Article

AN - SCOPUS:0025791235

VL - 46

SP - 93

EP - 119

JO - Computing (Vienna/New York)

JF - Computing (Vienna/New York)

SN - 0010-485X

IS - 2

ER -