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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Graphics

Graphics

Scheduled Pinned Locked Moved C / C++ / MFC
graphicshelp
4 Posts 3 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.
  • D Offline
    D Offline
    Daniel Visan
    wrote on last edited by
    #1

    I have a vector of POINTs and I want to draw a curve that undergo(pass over) all that points in my vector. Somebody adviced me to use Bezier...and probably he is right. But using Bezier method the curve bypasses several points in my vector(control points) which is not my purpose.I hope i make myself understood. My knowledge regarding Bezier curves is so weak that I need your help. Thank you in advance..I promise to rate good answers.

    C 1 Reply Last reply
    0
    • D Daniel Visan

      I have a vector of POINTs and I want to draw a curve that undergo(pass over) all that points in my vector. Somebody adviced me to use Bezier...and probably he is right. But using Bezier method the curve bypasses several points in my vector(control points) which is not my purpose.I hope i make myself understood. My knowledge regarding Bezier curves is so weak that I need your help. Thank you in advance..I promise to rate good answers.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Daniel Visan wrote: Thank you in advance..I promise to rate good answers. *grin* CP ( thankfully ) has no rating system. Beziers are mapped by specifying control points, but the curve does not pass through those points, it's more like a magnet, pulling the line *twoard* that point, not through it. I can't recall off the top of my head ( no MSDN or books here ) how to draw a line that passes through the points, but I know there is an AngleArc function, or similar, which may help you. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff.

      N 1 Reply Last reply
      0
      • C Christian Graus

        Daniel Visan wrote: Thank you in advance..I promise to rate good answers. *grin* CP ( thankfully ) has no rating system. Beziers are mapped by specifying control points, but the curve does not pass through those points, it's more like a magnet, pulling the line *twoard* that point, not through it. I can't recall off the top of my head ( no MSDN or books here ) how to draw a line that passes through the points, but I know there is an AngleArc function, or similar, which may help you. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff.

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #3

        ****Christian Graus wrote: ( thankfully ) has no rating system. We had one for a while, remember? With John and You racing against each other :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

        C 1 Reply Last reply
        0
        • N Nish Nishant

          ****Christian Graus wrote: ( thankfully ) has no rating system. We had one for a while, remember? With John and You racing against each other :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Nish [BusterBoy] wrote: We had one for a while, remember? How could I forget ? Nish [BusterBoy] wrote: With John and You racing against each other Actually that was more everyone ( me included ) vs. Michael Martin, who was voting for me. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff.

          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