The number of triangles drawn (polygons: as fans).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Polyhedron), | intent(in) | :: | self |
pure integer function num_triangles(self) class(Polyhedron), intent(in) :: self num_triangles = size(self%tri, 2) end function num_triangles