Package org.robwork.sdurw_proximity
Class DistanceMultiStrategy.DistanceMultiStrategyResult
- java.lang.Object
-
- org.robwork.sdurw_proximity.DistanceMultiStrategy.DistanceMultiStrategyResult
-
- Enclosing class:
- DistanceMultiStrategy
public static class DistanceMultiStrategy.DistanceMultiStrategyResult extends java.lang.ObjectDistanceResult contains basic information about the distance
result between two frames.
-
-
Constructor Summary
Constructors Constructor Description DistanceMultiStrategyResult()DistanceMultiStrategyResult(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voiddelete()ProximityModelPtrgetA()reference to the first proximity modelProximityModelPtrgetB()reference to the second proximity modelstatic longgetCPtr(DistanceMultiStrategy.DistanceMultiStrategyResult obj)doublegetDistance()distance between frame f1 and frame f2vector_dgetDistances()distances between contact pointsvector_igetGeoIdxA()geometry index to geometry in object Avector_igetGeoIdxB()geometry index to geometry in object BVector3DgetP1()Closest point on f1 to f2, described in world reference framevector_igetP1prims()indices to the primitives which are the closest points on the first proximity
modelSWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_tgetP1s()Closest points on f1 to f2, described in world reference frameVector3DgetP2()Closest point on f2 to f1, described in world reference framevector_igetP2prims()indices to the primitives which are the closest points on the second proximity
modelSWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_tgetP2s()Closest point on f2 to f1, described in world reference framevoidsetA(ProximityModelPtr value)reference to the first proximity modelvoidsetB(ProximityModelPtr value)reference to the second proximity modelvoidsetDistance(double value)distance between frame f1 and frame f2voidsetDistances(vector_d value)distances between contact pointsvoidsetGeoIdxA(vector_i value)geometry index to geometry in object AvoidsetGeoIdxB(vector_i value)geometry index to geometry in object BvoidsetP1(Vector3D value)Closest point on f1 to f2, described in world reference framevoidsetP1prims(vector_i value)indices to the primitives which are the closest points on the first proximity
modelvoidsetP1s(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t value)Closest points on f1 to f2, described in world reference framevoidsetP2(Vector3D value)Closest point on f2 to f1, described in world reference framevoidsetP2prims(vector_i value)indices to the primitives which are the closest points on the second proximity
modelvoidsetP2s(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t value)Closest point on f2 to f1, described in world reference frame
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(DistanceMultiStrategy.DistanceMultiStrategyResult obj)
-
delete
public void delete()
-
setA
public void setA(ProximityModelPtr value)
reference to the first proximity model
-
getA
public ProximityModelPtr getA()
reference to the first proximity model
-
setB
public void setB(ProximityModelPtr value)
reference to the second proximity model
-
getB
public ProximityModelPtr getB()
reference to the second proximity model
-
setP1
public void setP1(Vector3D value)
Closest point on f1 to f2, described in world reference frame
-
getP1
public Vector3D getP1()
Closest point on f1 to f2, described in world reference frame
-
setP2
public void setP2(Vector3D value)
Closest point on f2 to f1, described in world reference frame
-
getP2
public Vector3D getP2()
Closest point on f2 to f1, described in world reference frame
-
setDistance
public void setDistance(double value)
distance between frame f1 and frame f2
-
getDistance
public double getDistance()
distance between frame f1 and frame f2
-
setP1s
public void setP1s(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t value)
Closest points on f1 to f2, described in world reference frame
-
getP1s
public SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t getP1s()
Closest points on f1 to f2, described in world reference frame
-
setP2s
public void setP2s(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t value)
Closest point on f2 to f1, described in world reference frame
-
getP2s
public SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t getP2s()
Closest point on f2 to f1, described in world reference frame
-
setGeoIdxA
public void setGeoIdxA(vector_i value)
geometry index to geometry in object A
-
getGeoIdxA
public vector_i getGeoIdxA()
geometry index to geometry in object A
-
setGeoIdxB
public void setGeoIdxB(vector_i value)
geometry index to geometry in object B
-
getGeoIdxB
public vector_i getGeoIdxB()
geometry index to geometry in object B
-
setP1prims
public void setP1prims(vector_i value)
indices to the primitives which are the closest points on the first proximity
model
-
getP1prims
public vector_i getP1prims()
indices to the primitives which are the closest points on the first proximity
model
-
setP2prims
public void setP2prims(vector_i value)
indices to the primitives which are the closest points on the second proximity
model
-
getP2prims
public vector_i getP2prims()
indices to the primitives which are the closest points on the second proximity
model
-
setDistances
public void setDistances(vector_d value)
distances between contact points
-
getDistances
public vector_d getDistances()
distances between contact points
-
clear
public void clear()
-
-