5
$\begingroup$

Bug introduced in 10.0 and fixed in 10.4.0


EdgeForm[] does not work.

Graphics[{EdgeForm[], Green, Opacity[0.2],HalfPlane[{{0, 0}, {1, 0}}, {0, 1}]}]

enter image description here

Any idea how to remove edges of HalfPlane

$\endgroup$
  • 3
    $\begingroup$ That seems sort of bug-ish, since in the documentation for HalfPlane, it says that "Graphics rendering is affected by directives such as FaceForm, EdgeForm, Opacity, and color." $\endgroup$ – march Oct 19 '15 at 23:11
  • 4
    $\begingroup$ EdgeForm[Transparent] is another possible workaround. $\endgroup$ – J. M. will be back soon Oct 20 '15 at 0:14
7
$\begingroup$

It looks like a bug to me, since HalfPlane responds to other EdgeForm directives. For example, in the following HalfPlane responds to EdgeForm[Red].

Graphics[{
  EdgeForm[Red], Green, Opacity[0.2], Disk[], HalfPlane[{{0, 0}, {1, 0}}, {0, 1}]}]

red-edge

A work-around is

Graphics[{
  EdgeForm[Red], Green, Opacity[0.2], Disk[], 
  EdgeForm[Transparent], HalfPlane[{{0, 0}, {1, 0}}, {0, 1}]}]

no-edge

$\endgroup$

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.