1
$\begingroup$

This behavior seems inconsistent to me:

ConicHullRegion[{{0, 0}}, {{1/3, 2/3}, {2/3, 1/3}}];
{Graphics[%], Show[%]}
ConvexHullMesh[{{0, 0}, {1/3, 2/3}, {2/3, 1/3}}];
{Graphics[%], Show[%]}

I would like to display these two regions in a consistent way, but I don't really understand the underlying graphical difference between the two resulting Mathematica objects.

$\endgroup$
  • $\begingroup$ reference.wolfram.com/language/ref/Region.html $\endgroup$ – Chip Hurst Aug 11 '18 at 17:44
  • $\begingroup$ My question is why are these two region have two different relationships to graphics system? One "shows" immediately, and can't be passed to Graphics, the other requires "Graphics" to show. $\endgroup$ – Charles Gillingham Aug 12 '18 at 3:23
  • $\begingroup$ A good partial answer would explain the difference between graphic objects and "showable" objects. $\endgroup$ – Charles Gillingham Aug 12 '18 at 3:24
  • $\begingroup$ The only regions that auto visualize are BoundryMeshRegion and MeshRegion. ConvexHullMesh returns the former. Some regions can serve as graphics primitives and vice versa. Graphics is intended only for visualization and different directives like color, thickness, dashing, etc can be associated to primitives. Regions are simply point sets and that makes it less clear how to associate directives with certain parts. The mesh regions mentioned above are somewhat of an exception. The connectivity of mesh cells can matter in some contexts and it gives ways to associate certain directives. $\endgroup$ – Chip Hurst Aug 12 '18 at 4:14
  • $\begingroup$ Some more experimentation helped me to understand the structure better. $\endgroup$ – Charles Gillingham Aug 12 '18 at 12:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.