Class TrajectoryIteratorRotation3D_fCPtr


  • public class TrajectoryIteratorRotation3D_fCPtr
    extends java.lang.Object
    Ptr stores a pointer and optionally takes ownership of the value.
    • Constructor Detail

      • TrajectoryIteratorRotation3D_fCPtr

        public TrajectoryIteratorRotation3D_fCPtr​(long cPtr,
                                                  boolean cMemoryOwn)
      • TrajectoryIteratorRotation3D_fCPtr

        public TrajectoryIteratorRotation3D_fCPtr()
        Default constructor yielding a NULL-pointer.
      • TrajectoryIteratorRotation3D_fCPtr

        public TrajectoryIteratorRotation3D_fCPtr​(TrajectoryIteratorRotation3D_f ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • delete

        public void delete()
      • isShared

        public boolean isShared()
        check if this Ptr has shared ownership or none
        ownership
        Returns:
        true if Ptr has shared ownership, false if it has no ownership.
      • isNull

        public boolean isNull()
        checks if the pointer is null
        Returns:
        Returns true if the pointer is null
      • getTime

        public double getTime()
        Returns the current position (time) of the iterator
        Returns:
        The current time.
      • isEnd

        public boolean isEnd()
        Test if the end of the trajectory is reached.

        Returns:
        true if the iterator has reached the end of the trajectory false
        otherwise.
      • isBegin

        public boolean isBegin()
        Test if the beginning of the trajectory is reached.

        Returns:
        true if the iterator has reached the beginning of the trajectory
        false otherwise.
      • point

        public Rotation3Df point()
        Extracts a point at the current position in the trajectory.

        Returns:
        the point at the current position in the trajectory.
      • x

        public Rotation3Df x()
        Extracts a point at the current position in the trajectory.

        Returns:
        the point at the current position in the trajectory.
      • dx

        public Rotation3Df dx()
        Extracts a point of the derivative of the trajectory
        at the current position in the trajectory

        Returns:
        the derived point at the current position in the trajectory.
      • ddx

        public Rotation3Df ddx()
        Extracts a point of the double derivative of the trajectory at the
        current position in the trajectory

        Returns:
        the double derived point at the current position in the trajectory.