Package org.robwork.sdurw
Class QToQPlannerPtr
- java.lang.Object
-
- org.robwork.sdurw.QToQPlannerPtr
-
public class QToQPlannerPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description QToQPlannerPtr()Default constructor yielding a NULL-pointer.QToQPlannerPtr(long cPtr, boolean cMemoryOwn)QToQPlannerPtr(QToQPlanner ptr)Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description QToQPlanner__ref__()Dereferencing operator.voiddelete()QToQPlannerderef()The pointer stored in the object.booleanequals(QToQPlanner p)static longgetCPtr(QToQPlannerPtr obj)QToQPlannergetDeref()Member access operator.PropertyMapgetProperties()booleanisNull()checks if the pointer is nullbooleanisShared()check if this Ptr has shared ownership or none
ownershipQToQPlannerPtrmake(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.
QToQPlannerPtrmake(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.
booleanquery(Q from, Q to, PathQ path)booleanquery(Q from, Q to, PathQ path, double time)booleanquery(Q from, Q to, PathQ path, StopCriteria stop)
-
-
-
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
-
getCPtr
public static long getCPtr(QToQPlannerPtr obj)
-
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.
-
equals
public boolean equals(QToQPlanner p)
-
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, StopCriteria stop)
-
getProperties
public PropertyMap getProperties()
-
-