public class ContactInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
mu
Friction coefficient
|
double |
normalVelocityLimit
velocity limit along the contact normal
|
Vector3d |
nrm
contact normal, in body coordinates (and normalized)
|
Twist |
otherBodyVelocity
velocity of the other body associated with this contact, in the
coordinates of this body.
|
Point3d |
pnt
contact point, in body coordinates
|
Constructor and Description |
---|
ContactInfo() |
ContactInfo(ContactInfo contact) |
ContactInfo(Point3d pnt,
Vector3d nrm) |
Modifier and Type | Method and Description |
---|---|
double |
getMu() |
double |
getNormalVelocityLimit() |
void |
set(ContactInfo c) |
void |
set(Point3d pnt,
Vector3d nrm) |
void |
setMu(double mu) |
void |
setNormalVelocityLimit(double v) |
java.lang.String |
toString() |
java.lang.String |
toString(NumberFormat fmt) |
java.lang.String |
toString(java.lang.String fmtStr) |
public Point3d pnt
public Vector3d nrm
public double mu
public double normalVelocityLimit
public Twist otherBodyVelocity
public ContactInfo()
public ContactInfo(ContactInfo contact)
public void setMu(double mu)
public double getMu()
public void setNormalVelocityLimit(double v)
public double getNormalVelocityLimit()
public void set(ContactInfo c)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String fmtStr)
public java.lang.String toString(NumberFormat fmt)