new_drawable_trajectory Function

private function new_drawable_trajectory(name, color) result(d)

A drawable trajectory frame named name (decorations of color color).

Arguments

Type IntentOptional 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)

Return Value type(DrawableTrajectory)


Called by

proc~~new_drawable_trajectory~~CalledByGraph proc~new_drawable_trajectory new_drawable_trajectory interface~drawabletrajectory DrawableTrajectory interface~drawabletrajectory->proc~new_drawable_trajectory

Source Code

    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