Author Topic: Delaunay Triangulation for Bricscad  (Read 3695 times)

0 Members and 1 Guest are viewing this topic.

It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 6934
  • AKA Daniel
Delaunay Triangulation for Bricscad
« on: March 26, 2008, 01:39:30 AM »
Just having more fun with DRX  :laugh:
…source is attached


MickD

  • Gator
  • Posts: 3300
  • (x-in)->[process]->(y-out)
Re: Delaunay Triangulation for Bricscad
« Reply #1 on: March 26, 2008, 02:16:59 AM »
Nice!  :kewl:
Forth is like the Tao: it is a Way, and is realized when followed.
Its fragility is its strength; its simplicity is its direction - Michael Ham

Lao Tzu: “To attain knowledge, add things
every day; to obtain wisdom, remove things every day.”

Jerry J

  • Newt
  • Posts: 48
Re: Delaunay Triangulation for Bricscad
« Reply #2 on: March 26, 2008, 05:37:36 AM »
Haven't played with it yet, but that is what I was trying to do when I had the selectionset problems.  This looks like what I am after, but... C++ confuses me greatly.  After I look at the code maybe you could help me get it into C# or VB so that I could feel a little more adequate playing with it.  Suppose if you are using SDS rather than com, it may be a hassle.  Been busy a while so haven't had time to play with your .NET wrapper.  Thanks for the alert on the Bricscad forum.

Jerry

Mark

  • Custom Title
  • Seagull
  • Posts: 28683
Re: Delaunay Triangulation for Bricscad
« Reply #3 on: March 26, 2008, 12:29:12 PM »
Very nice!
TheSwamp.org  (serving the CAD community since 2003)

It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 6934
  • AKA Daniel
Re: Delaunay Triangulation for Bricscad
« Reply #4 on: March 28, 2008, 01:24:28 PM »
Here’s an update, this should now draw the triangles on the current layer.

iumike

  • Guest
Re: Delaunay Triangulation for Bricscad
« Reply #5 on: March 31, 2008, 05:15:05 AM »
Very interesting code, thank you for posting it!!
Do you have an example for Voronoi diagram.. I try to create some consecutive offset curves in Bricscad..
Regards!
Mike

It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 6934
  • AKA Daniel
Re: Delaunay Triangulation for Bricscad
« Reply #6 on: April 01, 2008, 01:01:27 AM »
Hi Mike,
Welcome to TheSwamp   :-)
I haven’t done a Voronoi diagram, but I think this might be an interesting challenge in the future  8-)

Dan

frtfff

  • Bull Frog
  • Posts: 215
Re: Delaunay Triangulation for Bricscad
« Reply #7 on: June 11, 2008, 12:40:08 AM »
I think you can get the v_diagarm from the Internet,I got it,but lost already.

frtfff

  • Bull Frog
  • Posts: 215
Re: Delaunay Triangulation for Bricscad
« Reply #8 on: September 15, 2008, 08:38:31 AM »
Do you have the code posted for AutoCAD?

It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 6934
  • AKA Daniel
Re: Delaunay Triangulation for Bricscad
« Reply #9 on: September 15, 2008, 08:54:33 AM »
Do you have the code posted for AutoCAD?

Sorry, I don’t have the source handy at the moment. I am in the middle of a move and all my stuff is packed up.

frtfff

  • Bull Frog
  • Posts: 215
Re: Delaunay Triangulation for Bricscad
« Reply #10 on: October 23, 2008, 10:51:42 AM »
Good code.