num_vertices Function

private pure function num_vertices(self)

The number of vertices.

Type Bound

Polyhedron

Arguments

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

Return Value integer


Source Code

    pure integer function num_vertices(self)
        class(Polyhedron), intent(in) :: self
        num_vertices = size(self%v, 2)
    end function num_vertices