Both sides of the faces drawn and lit (the default: open surfaces), or only their fronts (a closed surface, its faces counterclockwise seen from outside: translucent, its far side isn't drawn through it).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Polyhedron), | intent(inout) | :: | self | |||
| logical, | intent(in) | :: | two_sided |
true: both sides; false: fronts only |
subroutine set_two_sided(self, two_sided) class(Polyhedron), intent(inout) :: self logical, intent(in) :: two_sided !! true: both sides; false: fronts only self%two_sided_ = two_sided call make_polyhedron(self) end subroutine set_two_sided