If I say
tri = ConvexHullMesh[{{0, 1}, {1, 1}, {1, 0}}]
a triangle is rendered in blue. How can I change that color? An answer to an earlier question suggested passing tri
, which is actually a BoundaryMeshRegion
, to HighlightMesh
, like this:
hm = HighlightMesh[tri, {Style[0, PointSize[0.05], Red],
Style[1, Thick, Black],
Style[2, Green]}]
That does indeed highlight the vertices as red dots and the edges as black lines; but the triangle is still blue. The Properties
list in InputForm[hm]
sets the MeshCellStyle
of the 2-dimensional cells to green. But perhaps HighlightMesh
is not prepared to highlight the top-dimensional face?
Maybe I should be using some different approach?