Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Prety Pologons, Think it's worth an article?

Prety Pologons, Think it's worth an article?

Scheduled Pinned Locked Moved The Lounge
htmlcomalgorithmsdata-structureshelp
16 Posts 7 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Richard Andrew x64R Richard Andrew x64

    What kind of file is SVG? IE wants to download that link as a file, but I don't know what to do with it.

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #6

    Vector graphics in XML form, Firefox and other modern browsers can handle it

    L 1 Reply Last reply
    0
    • L Lost User

      Vector graphics in XML form, Firefox and other modern browsers can handle it

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #7

      harold aptroot wrote:

      and other modern browsers

      Meow!

      Join the cool kids - Come fold with us[^]

      1 Reply Last reply
      0
      • Richard Andrew x64R Richard Andrew x64

        What kind of file is SVG? IE wants to download that link as a file, but I don't know what to do with it.

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #8

        from a previous century: Scalable_Vector_Graphics[^] :laugh:

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


        I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
        All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.


        1 Reply Last reply
        0
        • L Lost User

          Intersection of polygons, finding a polynomial time solution[^] The goal of this research is to find the fastest polygon intersection algorithm, right now it is just a prototype demo, I am exploring graph theory to try to solve the problem. Just refresh to redraw the image..

          "Make everything as simple as possible, but not simpler." -- Albert Einstein "It didn't matter to us whether people believed in us. We believed in ourselves. We had the courage to follow our own path." ~~Nvidia's Jen-Hsun Huang

          S Offline
          S Offline
          Steve Westbrook
          wrote on last edited by
          #9

          I would love to see an article about this.

          L 1 Reply Last reply
          0
          • S Steve Westbrook

            I would love to see an article about this.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #10

            Okay great I will feature on in WPF on Covext Hull Intersections and one on the use of the Big O algroythm Analizer which I will use to demonstrate how to sacle an algroythm for best performance! :cool:

            "Make everything as simple as possible, but not simpler." -- Albert Einstein "It didn't matter to us whether people believed in us. We believed in ourselves. We had the courage to follow our own path." ~~Nvidia's Jen-Hsun Huang

            1 Reply Last reply
            0
            • L Lost User

              Intersection of polygons, finding a polynomial time solution[^] The goal of this research is to find the fastest polygon intersection algorithm, right now it is just a prototype demo, I am exploring graph theory to try to solve the problem. Just refresh to redraw the image..

              "Make everything as simple as possible, but not simpler." -- Albert Einstein "It didn't matter to us whether people believed in us. We believed in ourselves. We had the courage to follow our own path." ~~Nvidia's Jen-Hsun Huang

              S Offline
              S Offline
              Saurabh Garg
              wrote on last edited by
              #11

              What kind of polygons are you planning to consider? If I am not mistaken convex-convex polygon intersection is linear, so not very interesting (ref[^]). For convace, self intersecting, or with holes it will be interesting to see the inner working of the algorithm. Have you came across GPC[^]. -Saurabh

              L 1 Reply Last reply
              0
              • S Saurabh Garg

                What kind of polygons are you planning to consider? If I am not mistaken convex-convex polygon intersection is linear, so not very interesting (ref[^]). For convace, self intersecting, or with holes it will be interesting to see the inner working of the algorithm. Have you came across GPC[^]. -Saurabh

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #12

                Saurabh.Garg wrote:

                What kind of polygons are you planning to consider? If I am not mistaken convex-convex polygon intersection is linear, so not very interesting (ref[^]). For convace, self intersecting, or with holes it will be interesting to see the inner working of the algorithm. Have you came across **GPC[^]**Is Infected with a virus!.

                Right now it is a graph theory looking to achieve O(n log n). The link you sent is infected with a virus and I can not download the PDF from the GPC link. This really sux because I read the article on a friends computer on Saturday and she didn't have the best virus protection, now she is infected! From what I read it is not using graph theory, so I will get different results, and then I'm going to try an FFT to to make it even faster. But it was interesting. The problem has been solved it seems, but the algorithm does not offer guaranteed time complexity, has to do with the way the algorithm does the shifting. I think the graph algorithm would be faster because it's not doing any scanning of the whole image, just the polygon points and intersections. And yes this is for convex polygons only at this point, if I have enough time I will expand it to concave polygons.

                "Make everything as simple as possible, but not simpler." -- Albert Einstein "It didn't matter to us whether people believed in us. We believed in ourselves. We had the courage to follow our own path." ~~Nvidia's Jen-Hsun Huang

                S 1 Reply Last reply
                0
                • L Lost User

                  Saurabh.Garg wrote:

                  What kind of polygons are you planning to consider? If I am not mistaken convex-convex polygon intersection is linear, so not very interesting (ref[^]). For convace, self intersecting, or with holes it will be interesting to see the inner working of the algorithm. Have you came across **GPC[^]**Is Infected with a virus!.

                  Right now it is a graph theory looking to achieve O(n log n). The link you sent is infected with a virus and I can not download the PDF from the GPC link. This really sux because I read the article on a friends computer on Saturday and she didn't have the best virus protection, now she is infected! From what I read it is not using graph theory, so I will get different results, and then I'm going to try an FFT to to make it even faster. But it was interesting. The problem has been solved it seems, but the algorithm does not offer guaranteed time complexity, has to do with the way the algorithm does the shifting. I think the graph algorithm would be faster because it's not doing any scanning of the whole image, just the polygon points and intersections. And yes this is for convex polygons only at this point, if I have enough time I will expand it to concave polygons.

                  "Make everything as simple as possible, but not simpler." -- Albert Einstein "It didn't matter to us whether people believed in us. We believed in ourselves. We had the courage to follow our own path." ~~Nvidia's Jen-Hsun Huang

                  S Offline
                  S Offline
                  Saurabh Garg
                  wrote on last edited by
                  #13

                  I don't think there is virus in the link, I just tested it again. The site is hosted at University of Manchester's website and I can browse it without any problems. I use GPC for my research purposes. I am little confused about the input to the problem. When you say polygon I think of ordered set of point in 2D but it seems that you are thinking about images. For polygons lot of research has been done and especially for convex polyon we already have linear time algorithms. -Saurabh

                  L 1 Reply Last reply
                  0
                  • S Saurabh Garg

                    I don't think there is virus in the link, I just tested it again. The site is hosted at University of Manchester's website and I can browse it without any problems. I use GPC for my research purposes. I am little confused about the input to the problem. When you say polygon I think of ordered set of point in 2D but it seems that you are thinking about images. For polygons lot of research has been done and especially for convex polyon we already have linear time algorithms. -Saurabh

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #14

                    No I'm using a prety hard core antivirus program, total internet security, it poped up with a virus right wehn the page loaded. Won't even let me browse the page any more.

                    "Make everything as simple as possible, but not simpler." -- Albert Einstein "It didn't matter to us whether people believed in us. We believed in ourselves. We had the courage to follow our own path." ~~Nvidia's Jen-Hsun Huang

                    S 1 Reply Last reply
                    0
                    • L Lost User

                      No I'm using a prety hard core antivirus program, total internet security, it poped up with a virus right wehn the page loaded. Won't even let me browse the page any more.

                      "Make everything as simple as possible, but not simpler." -- Albert Einstein "It didn't matter to us whether people believed in us. We believed in ourselves. We had the courage to follow our own path." ~~Nvidia's Jen-Hsun Huang

                      S Offline
                      S Offline
                      Saurabh Garg
                      wrote on last edited by
                      #15

                      Ever heard of false negatives? -Saurabh

                      L 1 Reply Last reply
                      0
                      • S Saurabh Garg

                        Ever heard of false negatives? -Saurabh

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #16

                        Not for a heurstic algroythm for analyzing viruses, not unless some idiot put the signature in the html, and why would they do that? Beleive me if my scanner goes off and tells me it's a virus, it is a virus. Viruses are the easiest programs to write, but finding it's signature is no problem. Its like a needle in a haysack that is full of everything but needles, and the heuristics they use to find viruses are about 99.9% correct. If you don't believe me look for your self: Virus found JS/Psyme;"www.cs.man.ac.uk/~toby/alan/software/";"Object was blocked"

                        "Make everything as simple as possible, but not simpler." -- Albert Einstein "It didn't matter to us whether people believed in us. We believed in ourselves. We had the courage to follow our own path." ~~[Nvidia's Jen-Hsun Huang

                        modified on Tuesday, February 23, 2010 5:00 AM

                        ](http://en.wikipedia.org/wiki/Jen-Hsun_Huang)

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups