CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: Points to curve

  1. #1
    Join Date
    Apr 1999
    Posts
    37

    Points to curve

    Hi
    I want construct one or more bezier3 curve(s) which nearly through a series of points. Where can me find some help?
    Thanks.


  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Points to curve

    CDC::PolyDraw()
    CDC::PolyBezierTo()
    CDC::PolyBezier()

    Regards,

    Paul McKenzie




  3. #3
    Join Date
    Apr 1999
    Posts
    37

    Re: Points to curve

    Thanks reply, but my question is how to "construct" one or more bezier3 curve(s) which "nearly" through "hundreds" or "thousands" points.


  4. #4
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    Re: Points to curve

    There is a VC technical article called 'Connectors and Cables'
    with a sample program called 'DragBez' that might be helpful.



  5. #5
    Join Date
    Apr 1999
    Posts
    37

    Re: Points to curve

    Where is that article? Will you please tell me the URL? Thanks.


  6. #6
    Join Date
    Apr 1999
    Posts
    383

    Re: Points to curve

    See the VC++ Docs or MSDN (on the Microsoft web site if you don't have a copy):

    Technical Articles/Multimedia/GDI/Connectors and Cables

    Dave


  7. #7
    Join Date
    May 1999
    Posts
    123

    Re: Points to curve

    Instead of using Bezier curves, you probably want to use a cubic B-Spline. IIRC, I've got some code for one. Send me email if you'd like a copy.


    The universe is a figment of its own imagination.

  8. #8
    Join Date
    Apr 1999
    Posts
    37

    Re: Points to curve

    Thanks. Cubic B-Spline will be very helpful.
    My email address: [email protected]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured