A drawable trajectory frame named name (decorations of color color).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | name |
the frame's name |
||
| real(kind=wp), | intent(in), | optional | :: | color(:) |
[r, g, b] or [r, g, b, a] (0 to 1) |
function new_drawable_trajectory(name, color) result(d) character(len=*), intent(in) :: name !! the frame's name real(wp), intent(in), optional :: color(:) !! [r, g, b] or [r, g, b, a] (0 to 1) type(DrawableTrajectory) :: d d%ReferenceFrame = ReferenceFrame(name, color) end function new_drawable_trajectory