The point buffer of a line or marker node: (xyz and distance, high/low, point).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | intent(in) | :: | line |
line or marker node |
||
| real(kind=c_float), | intent(out), | dimension(:,:,:), pointer | :: | p |
(4, 2, capacity); null if none |
subroutine line_buffer(line, p) type(c_ptr), intent(in) :: line !! line or marker node real(c_float), dimension(:,:,:), pointer, intent(out) :: p !! (4, 2, capacity); null if none integer(c_int) :: capacity type(c_ptr) :: data p => null() data = vkf_line_points(line, capacity) if (c_associated(data)) call c_f_pointer(data, p, [4, 2, int(capacity)]) end subroutine line_buffer