All three start (end) sources at once, e.g. position_sources(3) or optional_sources(1). Returns whether the trajectory has their data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(SegmentArtist), | intent(inout) | :: | self | |||
| type(DataSource), | intent(in) | :: | src(3) |
the start points' x, y, z data sources |
logical function set_start_data(self, src) result(valid) class(SegmentArtist), intent(inout) :: self type(DataSource), intent(in) :: src(3) !! the start points' x, y, z data sources integer :: k do k = 1, 3 valid = set_segment_source(self, 1, k, src(k)) end do end function set_start_data