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 SummaryConstructors 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 SummaryAll 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- 
QToQPlannerPtrpublic QToQPlannerPtr(long cPtr, boolean cMemoryOwn)
 - 
QToQPlannerPtrpublic QToQPlannerPtr() Default constructor yielding a NULL-pointer.
 - 
QToQPlannerPtrpublic QToQPlannerPtr(QToQPlanner ptr) Do not take ownership of ptr.
 
 ptr can be null.
 
 The constructor is implicit on purpose.
 
- 
 - 
Method Detail- 
getCPtrpublic static long getCPtr(QToQPlannerPtr obj) 
 - 
deletepublic void delete() 
 - 
derefpublic QToQPlanner deref() The pointer stored in the object.
 - 
__ref__public QToQPlanner __ref__() Dereferencing operator.
 - 
getDerefpublic QToQPlanner getDeref() Member access operator.
 - 
equalspublic boolean equals(QToQPlanner p) 
 - 
isSharedpublic 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.
 
 - 
isNullpublic boolean isNull() checks if the pointer is null- Returns:
- Returns true if the pointer is null
 
 - 
makepublic 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.
 
 - 
makepublic 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.
 
 - 
querypublic boolean query(Q from, Q to, PathQ path, StopCriteria stop) 
 - 
getPropertiespublic PropertyMap getProperties() 
 
- 
 
-