public class ExactWrappableCylinder extends ExactWrappableGeometry implements ParametricEntity
| Constructor and Description | 
|---|
| ExactWrappableCylinder(Frame iparent,
                      Point3d cInParent,
                      Vector3d zInParent,
                      double R)Create a new wrapping cylinder in the given parent frame, with the given
 parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| Point3d | getLocation(double[] params)Get location of the point described by the given parameters, in some body
 coordinate frame. | 
| Point3d | getPosition(double[] params)Get position of the point described by the given parameters, in world
 coordinates. | 
| double | getThreshRat()Get the threshold ratio for breaking contact. | 
| void | setThreshRat(double tr)Set the threshold ratio for breaking contact. | 
| ExactWrapPath | wrap(Point fm1,
    Point fm2)Find a path between the two points that wraps around this object. | 
| ExactWrapPath | wrap(Point fm1,
    Point fm2,
    ExactWrapPath prev)Find a path between the two points that wraps around this object. | 
getParent, getTransformFromWorld, getTransformToParent, getTransformToWorldpublic ExactWrappableCylinder(Frame iparent, Point3d cInParent, Vector3d zInParent, double R)
iparent - parent framecInParent - any point going through the axis of the cylinder (parent
                   frame)zInParent - axis of the cylinder (parent frame)R - radius of the cylinder basepublic void setThreshRat(double tr)
tr - new ratio for breaking contactpublic double getThreshRat()
public ExactWrapPath wrap(Point fm1, Point fm2)
wrap in class ExactWrappableGeometryfm1 - first pointfm2 - second pointpublic ExactWrapPath wrap(Point fm1, Point fm2, ExactWrapPath prev)
wrap in class ExactWrappableGeometryfm1 - first pointfm2 - second pointprev - previous pathpublic Point3d getLocation(double[] params)
getLocation in interface ParametricEntityparams - parameterspublic Point3d getPosition(double[] params)
getPosition in interface ParametricEntityparams - parameters