Cargando…

Generation of simple polygons from ordered points using an iterative insertion algorithm

To construct a simple polygon from a set of plane points, we propose an iterative inserting ordered points (IIOP) algorithm. Using a given a set of ordered non-collinear points, a simple polygon can be formed and its shape is dependent on the sorting method used. To form such simple polygons with a...

Descripción completa

Detalles Bibliográficos
Autores principales: Zhang, Hongyun, Zhao, Quanhua, Li, Yu
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7069625/
https://www.ncbi.nlm.nih.gov/pubmed/32168363
http://dx.doi.org/10.1371/journal.pone.0230342
_version_ 1783505813450522624
author Zhang, Hongyun
Zhao, Quanhua
Li, Yu
author_facet Zhang, Hongyun
Zhao, Quanhua
Li, Yu
author_sort Zhang, Hongyun
collection PubMed
description To construct a simple polygon from a set of plane points, we propose an iterative inserting ordered points (IIOP) algorithm. Using a given a set of ordered non-collinear points, a simple polygon can be formed and its shape is dependent on the sorting method used. To form such simple polygons with a given set of plane points, the points must first be ordered in one direction (typically, the x-axis is used). The first three points in the set are used to form an initial polygon. Based on the formed polygon, new polygons can be iteratively formed by inserting the first point of from among the remaining set of points, depending on line visibility from that point. This process is carried out until all the points are inserted into the polygon. In this study, we generated 20, 50, and 80 plane points and used the proposed method to construct polygons. Experimental results show that these three polygons are all simple polygons. Through theoretical and experimental verification, we can concluded that when given a set of non-collinear points, a simple polygon can be formed.
format Online
Article
Text
id pubmed-7069625
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-70696252020-03-23 Generation of simple polygons from ordered points using an iterative insertion algorithm Zhang, Hongyun Zhao, Quanhua Li, Yu PLoS One Research Article To construct a simple polygon from a set of plane points, we propose an iterative inserting ordered points (IIOP) algorithm. Using a given a set of ordered non-collinear points, a simple polygon can be formed and its shape is dependent on the sorting method used. To form such simple polygons with a given set of plane points, the points must first be ordered in one direction (typically, the x-axis is used). The first three points in the set are used to form an initial polygon. Based on the formed polygon, new polygons can be iteratively formed by inserting the first point of from among the remaining set of points, depending on line visibility from that point. This process is carried out until all the points are inserted into the polygon. In this study, we generated 20, 50, and 80 plane points and used the proposed method to construct polygons. Experimental results show that these three polygons are all simple polygons. Through theoretical and experimental verification, we can concluded that when given a set of non-collinear points, a simple polygon can be formed. Public Library of Science 2020-03-13 /pmc/articles/PMC7069625/ /pubmed/32168363 http://dx.doi.org/10.1371/journal.pone.0230342 Text en © 2020 Zhang et al http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Zhang, Hongyun
Zhao, Quanhua
Li, Yu
Generation of simple polygons from ordered points using an iterative insertion algorithm
title Generation of simple polygons from ordered points using an iterative insertion algorithm
title_full Generation of simple polygons from ordered points using an iterative insertion algorithm
title_fullStr Generation of simple polygons from ordered points using an iterative insertion algorithm
title_full_unstemmed Generation of simple polygons from ordered points using an iterative insertion algorithm
title_short Generation of simple polygons from ordered points using an iterative insertion algorithm
title_sort generation of simple polygons from ordered points using an iterative insertion algorithm
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7069625/
https://www.ncbi.nlm.nih.gov/pubmed/32168363
http://dx.doi.org/10.1371/journal.pone.0230342
work_keys_str_mv AT zhanghongyun generationofsimplepolygonsfromorderedpointsusinganiterativeinsertionalgorithm
AT zhaoquanhua generationofsimplepolygonsfromorderedpointsusinganiterativeinsertionalgorithm
AT liyu generationofsimplepolygonsfromorderedpointsusinganiterativeinsertionalgorithm