Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

12
  • $\begingroup$ I don't have version 10 (or a computer, for that matter), but I believe the output of DiscretizeRegion[] should have a GraphicsComplex[] object in it somewhere. Can you check? $\endgroup$ Commented Jul 28, 2015 at 14:00
  • $\begingroup$ I'm not sure how I would check that in all honesty... I'll dig into it and see if I can work out how to check the output $\endgroup$ Commented Jul 28, 2015 at 15:22
  • 1
    $\begingroup$ The stuff within Polygon[] looks to be useful; you'll note that it has a list of triples, corresponding to the triangle whose vertices are indexed by the integers in the triple. You should now have something to start with. $\endgroup$ Commented Jul 28, 2015 at 16:02
  • 1
    $\begingroup$ Something like this? test=ToString[InputForm[foo]];ToExpression[StringTake[test,StringPosition[test,"Polygon"][[1, 1]], StringPosition[test, "Properties"][[1, 1]] - 4}]] $\endgroup$ Commented Jul 28, 2015 at 17:19
  • 1
    $\begingroup$ Have a look at the documentation for ToElementMesh and ElementMesh. Either use the ElementIncidents or the boundary or mesh element connectivity data structures. There is also a Tutorial $\endgroup$ Commented Jul 28, 2015 at 17:22