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. General Programming
  3. Algorithms
  4. Point on Bezier Curve

Point on Bezier Curve

Scheduled Pinned Locked Moved Algorithms
algorithmsquestion
8 Posts 5 Posters 0 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.
  • P Offline
    P Offline
    PremalathaP
    wrote on last edited by
    #1

    Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"? ie. I have x & y and I want to check whether that coordinate exist on the bezier curve or not.

    R L F U 4 Replies Last reply
    0
    • P PremalathaP

      Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"? ie. I have x & y and I want to check whether that coordinate exist on the bezier curve or not.

      R Offline
      R Offline
      Reagan Conservative
      wrote on last edited by
      #2

      Try the following link (from Google 'bezier curves') http://www.moshplant.com/direct-or/bezier/math.html

      John P.

      U 1 Reply Last reply
      0
      • P PremalathaP

        Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"? ie. I have x & y and I want to check whether that coordinate exist on the bezier curve or not.

        L Offline
        L Offline
        Link2006
        wrote on last edited by
        #3

        PremalathaP wrote:

        Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"?

        Try to search on the PopCap developer forum, I remember there were lots of discussions about Bezier Curve. (obviously lots of people are trying to clone Zuma :|) http://developer.popcap.com/forums.php[^]

        U 1 Reply Last reply
        0
        • P PremalathaP

          Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"? ie. I have x & y and I want to check whether that coordinate exist on the bezier curve or not.

          F Offline
          F Offline
          frakier
          wrote on last edited by
          #4

          Are you using vb.net if so I have something that might help. If your not using vb you may be able to convert it to c or whatever flvor you like, I think the code I originally got my example from was java and I rewrote and expanded on it for vb.net. The program draws a curve, then you click on the curve, if the x,y appears on the curve the curve is redrawn showing where you clicked and splitting the curve. It's not commented but you should be able to figure it out. If interested let me know and I can send the code, it's app. 68kb and I did not want to clutter up the board.

          U 1 Reply Last reply
          0
          • R Reagan Conservative

            Try the following link (from Google 'bezier curves') http://www.moshplant.com/direct-or/bezier/math.html

            John P.

            U Offline
            U Offline
            User 12346520
            wrote on last edited by
            #5

            thanks: https://movied.org

            1 Reply Last reply
            0
            • P PremalathaP

              Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"? ie. I have x & y and I want to check whether that coordinate exist on the bezier curve or not.

              U Offline
              U Offline
              User 12346520
              wrote on last edited by
              #6

              thanks: https://movied.org

              1 Reply Last reply
              0
              • F frakier

                Are you using vb.net if so I have something that might help. If your not using vb you may be able to convert it to c or whatever flvor you like, I think the code I originally got my example from was java and I rewrote and expanded on it for vb.net. The program draws a curve, then you click on the curve, if the x,y appears on the curve the curve is redrawn showing where you clicked and splitting the curve. It's not commented but you should be able to figure it out. If interested let me know and I can send the code, it's app. 68kb and I did not want to clutter up the board.

                U Offline
                U Offline
                User 12346520
                wrote on last edited by
                #7

                thanks: https://movied.org

                1 Reply Last reply
                0
                • L Link2006

                  PremalathaP wrote:

                  Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"?

                  Try to search on the PopCap developer forum, I remember there were lots of discussions about Bezier Curve. (obviously lots of people are trying to clone Zuma :|) http://developer.popcap.com/forums.php[^]

                  U Offline
                  U Offline
                  User 12346520
                  wrote on last edited by
                  #8

                  thanks: https://movied.org

                  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