Package org.robwork.sdurw
Class DistanceMultiStrategy
- java.lang.Object
-
- org.robwork.sdurw.ProximityStrategy
-
- org.robwork.sdurw.DistanceMultiStrategy
-
public class DistanceMultiStrategy extends ProximityStrategy
-
-
Constructor Summary
Constructors Constructor Description DistanceMultiStrategy(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()DistanceMultiStrategyResultdistances(Frame a, Transform3Dd wTa, Frame b, Transform3Dd wTb, double tolerance)Calculates all distances between geometry of two given frames \mathcal{F}_a and
\mathcal{F}_bDistanceMultiStrategyResultdistances(Frame a, Transform3Dd wTa, Frame b, Transform3Dd wTb, double tolerance, ProximityStrategyData data)Calculates all distances between geometry of two given frames \mathcal{F}_a and
\mathcal{F}_bDistanceMultiStrategyResultdistances(ProximityModelPtr a, Transform3Dd wTa, ProximityModelPtr b, Transform3Dd wTb, double tolerance, ProximityStrategyData data)static longgetCPtr(DistanceMultiStrategy obj)-
Methods inherited from class org.robwork.sdurw.ProximityStrategy
addGeometry, addGeometry, addGeometry, addModel, addModel, addModel, addModel, clear, clearFrame, clearFrames, createModel, destroyModel, getCPtr, getGeometryIDs, getModel, hasModel, removeGeometry
-
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(DistanceMultiStrategy obj)
-
delete
public void delete()
- Overrides:
deletein classProximityStrategy
-
distances
public DistanceMultiStrategyResult distances(Frame a, Transform3Dd wTa, Frame b, Transform3Dd wTb, double tolerance)
Calculates all distances between geometry of two given frames \mathcal{F}_a and
\mathcal{F}_b- Parameters:
a- [in] \mathcal{F}_awTa- [in] \robabx{w}{a}{\mathbf{T}}b- [in] \mathcal{F}_bwTb- [in] \robabx{w}{b}{\mathbf{T}}tolerance- [in] point pairs that are closer than tolerance will
be included in the result.
- Returns:
- shortest distance if \mathcal{F}_a and \mathcal{F}_b are
separated and not in collision.
-
distances
public DistanceMultiStrategyResult distances(Frame a, Transform3Dd wTa, Frame b, Transform3Dd wTb, double tolerance, ProximityStrategyData data)
Calculates all distances between geometry of two given frames \mathcal{F}_a and
\mathcal{F}_b- Parameters:
a- [in] \mathcal{F}_awTa- [in] \robabx{w}{a}{\mathbf{T}}b- [in] \mathcal{F}_bwTb- [in] \robabx{w}{b}{\mathbf{T}}tolerance- [in] point pairs that are closer than tolerance will be included in the result.data-
- Returns:
- shortest distance if \mathcal{F}_a and \mathcal{F}_b are
separated and not in collision.
-
distances
public DistanceMultiStrategyResult distances(ProximityModelPtr a, Transform3Dd wTa, ProximityModelPtr b, Transform3Dd wTb, double tolerance, ProximityStrategyData data)
-
-