Compute facets normals by means of vertices data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(file_stl_object), | intent(inout) | :: | self | File STL. |
elemental subroutine compute_normals(self)
!< Compute facets normals by means of vertices data.
class(file_stl_object), intent(inout) :: self !< File STL.
if (self%facets_number>0) call self%facet%compute_normal
endsubroutine compute_normals