face_color Function

private pure function face_color(self) result(c)

The faces' color [r, g, b, a].

Type Bound

Polyhedron

Arguments

Type IntentOptional Attributes Name
class(Polyhedron), intent(in) :: self

Return Value real(kind=wp), (4)


Source Code

    pure function face_color(self) result(c)
        class(Polyhedron), intent(in) :: self
        real(wp) :: c(4)
        c = self%face_color_
    end function face_color