Package org.robwork.sdurw_sensor
Class Contact2D
- java.lang.Object
-
- org.robwork.sdurw_sensor.Contact2D
-
public class Contact2D extends java.lang.Object
data structure for describing a contact in 2D
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
double
getAvgCurvature()
double moving average of the curvaturestatic long
getCPtr(Contact2D obj)
double
getCurvature()
surface curvaturedouble
getMu()
coulomb friction coefficientVector2D
getN()
Surface contact normalVector2D
getP()
Contact positionvoid
setAvgCurvature(double value)
double moving average of the curvaturevoid
setCurvature(double value)
surface curvaturevoid
setMu(double value)
coulomb friction coefficientvoid
setN(Vector2D value)
Surface contact normalvoid
setP(Vector2D value)
Contact position
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(Contact2D obj)
-
delete
public void delete()
-
setP
public void setP(Vector2D value)
Contact position
-
getP
public Vector2D getP()
Contact position
-
setN
public void setN(Vector2D value)
Surface contact normal
-
getN
public Vector2D getN()
Surface contact normal
-
setCurvature
public void setCurvature(double value)
surface curvature
-
getCurvature
public double getCurvature()
surface curvature
-
setAvgCurvature
public void setAvgCurvature(double value)
double moving average of the curvature
-
getAvgCurvature
public double getAvgCurvature()
double moving average of the curvature
-
setMu
public void setMu(double value)
coulomb friction coefficient
-
getMu
public double getMu()
coulomb friction coefficient
-
-