Package org.robwork.sdurw
Class DistanceMultiStrategyResult
- java.lang.Object
-
- org.robwork.sdurw.DistanceMultiStrategyResult
-
public class DistanceMultiStrategyResult extends java.lang.Object
DistanceResult 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 void
clear()
void
delete()
ProximityModelPtr
getA()
reference to the first proximity modelProximityModelPtr
getB()
reference to the second proximity modelstatic long
getCPtr(DistanceMultiStrategyResult obj)
double
getDistance()
distance between frame f1 and frame f2VectorDouble
getDistances()
distances between contact pointsVector3Dd
getP1()
Closest point on f1 to f2, described in f1 reference frameVectorInt
getP1prims()
indices to the primitives which are the closest points on the first proximity modelVectorVector3D
getP1s()
Closest points on f1 to f2, described in f1 reference frameVector3Dd
getP2()
Closest point on f2 to f1, described in f2 reference frameVectorInt
getP2prims()
indices to the primitives which are the closest points on the second proximity modelVectorVector3D
getP2s()
Closest point on f2 to f1, IMPORTANT! NOTICE! described in
f1 reference framevoid
setA(ProximityModelPtr value)
reference to the first proximity modelvoid
setB(ProximityModelPtr value)
reference to the second proximity modelvoid
setDistance(double value)
distance between frame f1 and frame f2void
setDistances(VectorDouble value)
distances between contact pointsvoid
setP1(Vector3Dd value)
Closest point on f1 to f2, described in f1 reference framevoid
setP1prims(VectorInt value)
indices to the primitives which are the closest points on the first proximity modelvoid
setP1s(VectorVector3D value)
Closest points on f1 to f2, described in f1 reference framevoid
setP2(Vector3Dd value)
Closest point on f2 to f1, described in f2 reference framevoid
setP2prims(VectorInt value)
indices to the primitives which are the closest points on the second proximity modelvoid
setP2s(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()
-
-