has_vertex_colors Function

private pure function has_vertex_colors(self)

Whether the faces have a color per vertex.

Type Bound

Polyhedron

Arguments

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

Return Value logical


Source Code

    pure logical function has_vertex_colors(self)
        class(Polyhedron), intent(in) :: self
        has_vertex_colors = allocated(self%vertex_colors_)
    end function has_vertex_colors