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.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(DistanceMultiStrategy.DistanceMultiStrategyResult obj)
double
getDistance()
distance between frame f1 and frame f2vector_d
getDistances()
distances between contact pointsvector_i
getGeoIdxA()
geometry index to geometry in object Avector_i
getGeoIdxB()
geometry index to geometry in object BVector3D
getP1()
Closest point on f1 to f2, described in world reference framevector_i
getP1prims()
indices to the primitives which are the closest points on the first proximity
modelSWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t
getP1s()
Closest points on f1 to f2, described in world reference frameVector3D
getP2()
Closest point on f2 to f1, described in world reference framevector_i
getP2prims()
indices to the primitives which are the closest points on the second proximity
modelSWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t
getP2s()
Closest point on f2 to f1, described in world 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(vector_d value)
distances between contact pointsvoid
setGeoIdxA(vector_i value)
geometry index to geometry in object Avoid
setGeoIdxB(vector_i value)
geometry index to geometry in object Bvoid
setP1(Vector3D value)
Closest point on f1 to f2, described in world reference framevoid
setP1prims(vector_i value)
indices to the primitives which are the closest points on the first proximity
modelvoid
setP1s(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t value)
Closest points on f1 to f2, described in world reference framevoid
setP2(Vector3D value)
Closest point on f2 to f1, described in world reference framevoid
setP2prims(vector_i value)
indices to the primitives which are the closest points on the second proximity
modelvoid
setP2s(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()
-
-