WANG Jiechen, SHEN Dingtao, CHEN Yanming, LI Lifan. An Efficient Algorithm for Complex Polygon Clipping[J]. Geomatics and Information Science of Wuhan University, 2010, 35(3): 369-372.
Citation: WANG Jiechen, SHEN Dingtao, CHEN Yanming, LI Lifan. An Efficient Algorithm for Complex Polygon Clipping[J]. Geomatics and Information Science of Wuhan University, 2010, 35(3): 369-372.

An Efficient Algorithm for Complex Polygon Clipping

Funds: 国家基础科学人才培养基金资助项目(J0630535)
More Information
  • Received Date: January 22, 2009
  • Revised Date: January 22, 2009
  • Published Date: March 04, 2010
  • We popose an efficient algorithm for complex polygon clipping by adopting the trapezium segmentation technique and scan-line idea.Firstly,we find and compute the intersection points between main polygons and window polygons,then we record and sort the Y values of these points and the points in all polygons.Secondly,we cut all the polygons into some trapezium units by drawing the scan lines on the basis of these Y values and intersecting the edges of all polygons with the scan lines.Thirdly,we complete the trapezium-split operation line by line and pick up the intersection parts between the trapezia from main polygons and those from window polygons.Finally,we acquire the clipping polygons by tracing the boundary of the intersection parts.This algorithm ovecomes the complex computations such as the line reorganization and calculation of entry and exit points on the polygons.
  • Related Articles

    [1]WANG Yu, YANG Liping, REN Jie, ZHANG Jing, KONG Jinling, HOU Chenglei. An Oasis Soil Moisture Inversion Model Using ALOS-2 and Landsat 8 Data[J]. Geomatics and Information Science of Wuhan University, 2024, 49(9): 1630-1638. DOI: 10.13203/j.whugis20220008
    [2]LI Pingxiang, LIU Zhiqu, YANG Jie, SUN Weidong, LI Minyi, REN Yexian. Soil Moisture Retrieval of Winter Wheat Fields Based on Random Forest Regression Using Quad-Polarimetric SAR Images[J]. Geomatics and Information Science of Wuhan University, 2019, 44(3): 405-412. DOI: 10.13203/j.whugis20160531
    [3]LIANG Yong, YANG Lei, WU Qiulan, HONG Xuebao, HAN Moutian, YANG Dongkai. Simulation of Soil Roughness Impact in GNSS-R Soil Moisture Retrieval[J]. Geomatics and Information Science of Wuhan University, 2018, 43(10): 1546-1552. DOI: 10.13203/j.whugis20160557
    [4]CHEN Tieqiao, LIU Jiahang, ZHU Feng, WANG Yihao, LIU Jia, CHEN Jie. A Novel Multi-radius Neighborhood Rough Set Weighted Feature Extraction Method for Remote Sensing Image Classification[J]. Geomatics and Information Science of Wuhan University, 2018, 43(2): 311-317. DOI: 10.13203/j.whugis20150290
    [5]XU Feng, NIU Jiqiang, LI Zhuofan. Quantitative Evaluation Model of the Uncertainty of Multi-granularity Space Direction Relations Based on Rough-Set[J]. Geomatics and Information Science of Wuhan University, 2015, 40(7): 971-976. DOI: 10.13203/j.whugis20130126
    [6]YU Fan, LI Haitao, ZHANG Chengming, WAN Zi, LIU Jiang, ZHAO Ying. A New Approach for Surface Soil Moisture Retrieving UsingTwo-polarized Microwave Remote Sensing Data[J]. Geomatics and Information Science of Wuhan University, 2014, 39(2): 225-228. DOI: 10.13203/j.whugis20120527
    [7]ZHANG Xianfeng, ZHAO Jiepeng. System for Soil Moisture Retrieval and Data Assimilation from Remotely Sensed Data in Arid Regions[J]. Geomatics and Information Science of Wuhan University, 2012, 37(7): 794-799.
    [8]YU Liang, BIAN Fuling. Application of Rough Set-Based Neural Network in Forest Fire Alarm[J]. Geomatics and Information Science of Wuhan University, 2006, 31(8): 720-723.
    [9]LI Dingfang, ZHANG Wen, NIU Yanqing. Rough Set Based Missing Data Rotative Reconstruction Algorithms[J]. Geomatics and Information Science of Wuhan University, 2005, 30(11): 1016-1019.
    [10]Sun Lixin, Gao Wen. Hyperspectral Band Set Global Reduction Based on Rough Sets and Genetic Algorithm[J]. Geomatics and Information Science of Wuhan University, 1999, 24(4): 306-311.

Catalog

    Article views (1670) PDF downloads (928) Cited by()
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return