Determine boundary elements

Jan 15, 2016 at 10:02 AM
Hi,

Once again thanks a lot for the good work you’re doing with this library!

I am trying to get a list of the elements limiting with a specific contour line.

For instance in your example “refining regions” I'd like to get a listing of the triangles which are limiting with the outer circumference.

I’m still not completely familiar with the library. Is there any short cut to achieve this?
Coordinator
Jan 15, 2016 at 5:12 PM
Sure, take a look at this example.

You'll have to download the latest source code to get the VertexCirculator class.
Jan 20, 2016 at 8:02 AM
Thank you for the example!

I was able to define the boundary elements

The fact that you can get the elements adjacent to a segment is very useful
Feb 23, 2016 at 7:30 AM
i just need to plot contour graph using button (like you used triangulate and smooth)
Coordinator
Feb 23, 2016 at 10:07 AM
@rame2040:
  1. Why not open a new discussion for a new topic like contour plots?
  2. The UI is plain Windows Forms. If you want to add a button, do it in Visual Studio's Designer. If you don't know how to do that, get a book about Windows Forms (or find a tutorial online).
  3. There is a simple approach to plotting contours, see http://paulbourke.net/papers/conrec/. It can be easily adapted for unstructured meshes.