Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Looking for a C/C++ routine to determine points in polygon

nguyenvnguyenv Member Posts: 4
Hi,

I am currently looking for a C or C++ routine to determine whether points are in a polygon or not. Can someone please help me? I went to Google and search for it and all I can find it a FORTRAN routine, which I do not know anything about this language.


Thank you for your helps,

Vy

Comments

  • DonotaloDonotalo Member Posts: 715
    : Hi,
    :
    : I am currently looking for a C or C++ routine to determine whether points are in a polygon or not. Can someone please help me? I went to Google and search for it and all I can find it a FORTRAN routine, which I do not know anything about this language.
    :
    :
    : Thank you for your helps,
    :
    : Vy
    [purple]
    standard C/C++ doesnt define such functions. u have to write it urself. a better google search would be searching for this algorithm.
    [/purple]
    [hr][purple]~Donotalo()[/purple]

  • stephlstephl Member Posts: 422
    : Hi,
    :
    : I am currently looking for a C or C++ routine to determine whether points are in a polygon or not. Can someone please help me? I went to Google and search for it and all I can find it a FORTRAN routine, which I do not know anything about this language.
    :
    :
    : Thank you for your helps,
    :
    : Vy
    :
    First you should explain how your polygon is defined (as a linked list of points, or ...).

    Take care, Steph.
  • HK_MP5KPDWHK_MP5KPDW Member Posts: 770 ✭✭✭
    : Hi,
    :
    : I am currently looking for a C or C++ routine to determine whether points are in a polygon or not. Can someone please help me? I went to Google and search for it and all I can find it a FORTRAN routine, which I do not know anything about this language.
    :
    :
    : Thank you for your helps,
    :
    : Vy
    :

    [blue]http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html

    http://en.wikipedia.org/wiki/Point_in_polygon[/blue]
  • nguyenvnguyenv Member Posts: 4
    : : Hi,
    : :
    : : I am currently looking for a C or C++ routine to determine whether points are in a polygon or not. Can someone please help me? I went to Google and search for it and all I can find it a FORTRAN routine, which I do not know anything about this language.
    : :
    : :
    : : Thank you for your helps,
    : :
    : : Vy
    : :
    :
    : [blue]http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html
    :
    : http://en.wikipedia.org/wiki/Point_in_polygon[/blue]
    :
    This is exactly a web site that I need for my project.

    Again, thank you for your helps.
Sign In or Register to comment.