Package org.robwork.sdurw
Class DistanceStrategyResult
- java.lang.Object
-
- org.robwork.sdurw.DistanceStrategyResult
-
public class DistanceStrategyResult extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DistanceStrategyResult()DistanceStrategyResult(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voiddelete()ProximityModelPtrgetA()pointer to the ProximityModel containing the geometries for the first frameProximityModelPtrgetB()pointer to the ProximityModel containing the geometries for the second framestatic longgetCPtr(DistanceStrategyResult obj)doublegetDistance()distance between frame f1 and frame f1FramegetF1()reference to the first frameFramegetF2()reference to the second frameintgetGeoIdxA()geometry index to triangle mesh AintgetGeoIdxB()geometry index to triangle mesh BlonggetIdx1()index to the first face/triangle that is the closest featurelonggetIdx2()index to the second face/triangle that is the closest featureVector3DdgetP1()Closest point on f1 to f2, described in f1 reference frameVector3DdgetP2()Closest point on f2 to f1, described in f1 reference framevoidsetA(ProximityModelPtr value)pointer to the ProximityModel containing the geometries for the first framevoidsetB(ProximityModelPtr value)pointer to the ProximityModel containing the geometries for the second framevoidsetDistance(double value)distance between frame f1 and frame f1voidsetF1(Frame value)reference to the first framevoidsetF2(Frame value)reference to the second framevoidsetGeoIdxA(int value)geometry index to triangle mesh AvoidsetGeoIdxB(int value)geometry index to triangle mesh BvoidsetIdx1(long value)index to the first face/triangle that is the closest featurevoidsetIdx2(long value)index to the second face/triangle that is the closest featurevoidsetP1(Vector3Dd value)Closest point on f1 to f2, described in f1 reference framevoidsetP2(Vector3Dd value)Closest point on f2 to f1, described in f1 reference framejava.lang.StringtoString()
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(DistanceStrategyResult obj)
-
delete
public void delete()
-
setF1
public void setF1(Frame value)
reference to the first frame
-
getF1
public Frame getF1()
reference to the first frame
-
setF2
public void setF2(Frame value)
reference to the second frame
-
getF2
public Frame getF2()
reference to the second frame
-
setA
public void setA(ProximityModelPtr value)
pointer to the ProximityModel containing the geometries for the first frame
-
getA
public ProximityModelPtr getA()
pointer to the ProximityModel containing the geometries for the first frame
-
setB
public void setB(ProximityModelPtr value)
pointer to the ProximityModel containing the geometries for the second frame
-
getB
public ProximityModelPtr getB()
pointer to the ProximityModel containing the geometries for the second frame
-
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 f1 reference frame
-
getP2
public Vector3Dd getP2()
Closest point on f2 to f1, described in f1 reference frame
-
setDistance
public void setDistance(double value)
distance between frame f1 and frame f1
-
getDistance
public double getDistance()
distance between frame f1 and frame f1
-
setGeoIdxA
public void setGeoIdxA(int value)
geometry index to triangle mesh A
-
getGeoIdxA
public int getGeoIdxA()
geometry index to triangle mesh A
-
setGeoIdxB
public void setGeoIdxB(int value)
geometry index to triangle mesh B
-
getGeoIdxB
public int getGeoIdxB()
geometry index to triangle mesh B
-
setIdx1
public void setIdx1(long value)
index to the first face/triangle that is the closest feature
-
getIdx1
public long getIdx1()
index to the first face/triangle that is the closest feature
-
setIdx2
public void setIdx2(long value)
index to the second face/triangle that is the closest feature
-
getIdx2
public long getIdx2()
index to the second face/triangle that is the closest feature
-
clear
public void clear()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-