offrame_followposition Subroutine

public subroutine offrame_followposition(src, element, opt, scale)

Set the elements to follow position.

Each of src, element, opt, and scale must be 3-element arrays, with one element for each x/y/z source.

The function offrame_followtrajectory must be called before this function.

This applies to the current active ReferenceFrame.

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in), dimension(3) :: src

Set data source for each axis (see OpenFrames::Trajectory::SourceType).

integer(kind=int32), intent(in), dimension(3) :: element

Set which element to follow.

integer(kind=int32), intent(in), dimension(3) :: opt

Set which optional to follow.

real(kind=real64), intent(in), dimension(3) :: scale

Set the scale for each axis.