Class QToQPlannerPtr


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

      • QToQPlannerPtr

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

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

        public QToQPlannerPtr​(QToQPlanner ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • delete

        public void delete()
      • deref

        public QToQPlanner deref()
        The pointer stored in the object.
      • __ref__

        public QToQPlanner __ref__()
        Dereferencing operator.
      • getDeref

        public QToQPlanner getDeref()
        Member access operator.
      • 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
      • make

        public QToQPlannerPtr make​(QToQSamplerPlannerPtr planner)
        Construct a path planner from a region planner.

        The region planner is given as goal region the single to
        configuration passed to the query() method.

        Parameters:
        planner - [in] A planner for a region given by a QSampler.
      • make

        public QToQPlannerPtr make​(PlannerConstraint constraint)
        Construct a path planner from an edge constraint.

        The path planners calls the edge constraint to verify if the path
        going directly from the start to goal configuration can be traversed.

        The configuration constraint is called to verify that neither the
        start nor end configuration is in collision.

        Parameters:
        constraint - [in] Planner constraint.
        Returns:
        A planner that attempts the directly connecting edge only.
      • query

        public boolean query​(Q from,
                             Q to,
                             PathQ path,
                             double time)
      • query

        public boolean query​(Q from,
                             Q to,
                             PathQ path)