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$
2
  • 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
    Commented Oct 19, 2015 at 23:11
  • 4
    $\begingroup$ EdgeForm[Transparent] is another possible workaround. $\endgroup$ Commented Oct 20, 2015 at 0:14

1 Answer 1

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 and acknowledge you have read our privacy policy.

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