Effacer les filtres
Effacer les filtres

What's the principle of function "inpolygon"?

2 vues (au cours des 30 derniers jours)
Tony Carl
Tony Carl le 8 Mai 2018
Commenté : Tony Carl le 8 Mai 2018
Although codes are available,it's hard to figure out the principle of function "inpolygon" by reading codes straightly.

Réponse acceptée

Jan
Jan le 8 Mai 2018
You find a reference to the algorithm in the comments:
% The algorithm is similar to that described in the following reference.
%
% @article{514556,
% author = {Kai Hormann and Alexander Agathos},
% title = {The point in polygon problem for arbitrary polygons},
% journal = {Comput. Geom. Theory Appl.},
% volume = {20},
% number = {3},
% year = {2001},
% issn = {0925-7721},
% pages = {131--144},
% doi = {http://dx.doi.org/10.1016/S0925-7721(01)00012-8},
% publisher = {Elsevier Science Publishers B. V.},
% address = {Amsterdam, The Netherlands, The Netherlands},
Use the link to download the paper: http://dx.doi.org/10.1016/S0925-7721(01)00012-8

Plus de réponses (0)

Catégories

En savoir plus sur Earth, Ocean, and Atmospheric Sciences dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by