Package org.robwork.sdurw
Class DistanceMultiStrategyResult
- java.lang.Object
-
- org.robwork.sdurw.DistanceMultiStrategyResult
-
public class 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(DistanceMultiStrategyResult obj)doublegetDistance()distance between frame f1 and frame f2VectorDoublegetDistances()distances between contact pointsVector3DdgetP1()Closest point on f1 to f2, described in f1 reference frameVectorIntgetP1prims()indices to the primitives which are the closest points on the first proximity modelVectorVector3DgetP1s()Closest points on f1 to f2, described in f1 reference frameVector3DdgetP2()Closest point on f2 to f1, described in f2 reference frameVectorIntgetP2prims()indices to the primitives which are the closest points on the second proximity modelVectorVector3DgetP2s()Closest point on f2 to f1, IMPORTANT! NOTICE! described in
f1 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(VectorDouble value)distances between contact pointsvoidsetP1(Vector3Dd value)Closest point on f1 to f2, described in f1 reference framevoidsetP1prims(VectorInt value)indices to the primitives which are the closest points on the first proximity modelvoidsetP1s(VectorVector3D value)Closest points on f1 to f2, described in f1 reference framevoidsetP2(Vector3Dd value)Closest point on f2 to f1, described in f2 reference framevoidsetP2prims(VectorInt value)indices to the primitives which are the closest points on the second proximity modelvoidsetP2s(VectorVector3D value)Closest point on f2 to f1, IMPORTANT! NOTICE! described in
f1 reference frame
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(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(Vector3Dd value)
Closest point on f1 to f2, described in f1 reference frame
-
getP1
public Vector3Dd getP1()
Closest point on f1 to f2, described in f1 reference frame
-
setP2
public void setP2(Vector3Dd value)
Closest point on f2 to f1, described in f2 reference frame
-
getP2
public Vector3Dd getP2()
Closest point on f2 to f1, described in f2 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(VectorVector3D value)
Closest points on f1 to f2, described in f1 reference frame
-
getP1s
public VectorVector3D getP1s()
Closest points on f1 to f2, described in f1 reference frame
-
setP2s
public void setP2s(VectorVector3D value)
Closest point on f2 to f1, IMPORTANT! NOTICE! described in
f1 reference frame
-
getP2s
public VectorVector3D getP2s()
Closest point on f2 to f1, IMPORTANT! NOTICE! described in
f1 reference frame
-
setP1prims
public void setP1prims(VectorInt value)
indices to the primitives which are the closest points on the first proximity model
-
getP1prims
public VectorInt getP1prims()
indices to the primitives which are the closest points on the first proximity model
-
setP2prims
public void setP2prims(VectorInt value)
indices to the primitives which are the closest points on the second proximity model
-
getP2prims
public VectorInt getP2prims()
indices to the primitives which are the closest points on the second proximity model
-
setDistances
public void setDistances(VectorDouble value)
distances between contact points
-
getDistances
public VectorDouble getDistances()
distances between contact points
-
clear
public void clear()
-
-