Abstract
We consider the problem of computing the centroid of all the vertices in a non-degenerate arrangement of n lines. The trivial approach requires the enumeration of all \(n \choose 2\) vertices. We present an \(\O(n \log^2{n})\) algorithm for computing this centroid. For arrangements of n segments we give an \(\O(n^{\frac{4}{3}+\epsilon})\) algorithm for computing the centroid of its vertices. For the special case that all the segments of the arrangement are chords of a simply connected planar region we achieve an \(\O(n \log^5{n})\) time bound. Our bounds also generalize to certain natural weighted versions of those problems.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Agarwal, P.K., Sharir, M.: Applications of a new space-partitioning technique. Discrete Comput. Geom. 9(1), 11–38 (1993)
Agarwal, P.K., Varadarajan, K.R.: Efficient algorithms for approximating polygonal chains. Discrete Computational Geometry 23, 273–291 (2000)
Chazelle, B.: Cutting hyperplanes for divide-and-conquer. Discrete Computational Geometry 9(2), 145–158 (1993)
Cole, R., Salowe, J., Steiger, W., Szemerédi, E.: Optimal slope selection. SIAM J. Computing 18, 792–810 (1989)
Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms, ch. 32, 2nd edn. MIT Press, Cambridge (2001)
de Berg, M., van Kreveld, M., Overmars, M., Schwarzkopf, O.: Computational Geometry: Algorithms and Applications, ch. 5. Springer, Heidelberg (1997)
Gajentaan, A., Overmars, M.H.: On a class of ø(n 2) problems in computational geometry. Comput. Geom. Theory Appl. 5(3), 165–185 (1995)
Langerman, S., Steiger, W.: Ham-sandwich cuts and other tasks in arrangements, Technical report (2001)
Yap, C.K.: Fundamental problems of algorithmic algebra. Oxford University Press, New York (2000)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Ajwani, D., Ray, S., Seidel, R., Tiwary, H.R. (2007). On Computing the Centroid of the Vertices of an Arrangement and Related Problems. In: Dehne, F., Sack, JR., Zeh, N. (eds) Algorithms and Data Structures. WADS 2007. Lecture Notes in Computer Science, vol 4619. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73951-7_45
Download citation
DOI: https://doi.org/10.1007/978-3-540-73951-7_45
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-73948-7
Online ISBN: 978-3-540-73951-7
eBook Packages: Computer ScienceComputer Science (R0)