Position i (z = 0 for a 2-DOF trajectory).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Trajectory), | intent(in) | :: | self | |||
| integer, | intent(in) | :: | i |
the position (1 to num_positions) |
pure function position(self, i) result(p) class(Trajectory), intent(in) :: self integer, intent(in) :: i !! the position (1 to num_positions) real(wp) :: p(3) p = self%posopt(:, 0, i) end function position