The vertices: clock angles (from +x toward +y) and cone angles (from the boresight, -z; below 90 degrees), radians, the same number of each (>= 3).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PolyhedralCone), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | clock(:) |
radians |
||
| real(kind=wp), | intent(in) | :: | cone(:) |
radians |
subroutine set_vertex_angles(self, clock, cone) class(PolyhedralCone), intent(inout) :: self real(wp), intent(in) :: clock(:), cone(:) !! radians if (size(clock) /= size(cone) .or. size(clock) < 3) return self%clock = clock self%cone = cone call make_cone(self) end subroutine set_vertex_angles