The cone's length along the boresight (> 0; default 1).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PolyhedralCone), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | length |
scene units (<= 0: ignored) |
subroutine set_cone_length(self, length) class(PolyhedralCone), intent(inout) :: self real(wp), intent(in) :: length !! scene units (<= 0: ignored) if (length <= 0.0_wp) return self%length_ = length call make_cone(self) end subroutine set_cone_length