Class RMPathOffsetter
- java.lang.Object
-
- com.inductiveautomation.rm.graphics.RMPathOffsetter
-
public class RMPathOffsetter extends java.lang.Object
Offset path - a path that follows the curvature of the input path but is located a constant distance away from the curve.Mathematically, the offset path is the path defined by tracing the normal to the curve, scaled by d, along the entire path.
-
-
Constructor Summary
Constructors Constructor Description RMPathOffsetter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RMPath
createOffsetPath(RMPath aPath, float offset)
Create offset path.static void
evaluateBezierAndTangent(int degree, double t, RMPoint[] cpts, RMPoint tpoint, RMSize tan)
Simultaneously find point on curve, as well as the tangent at that point.static RMHitInfo
hitInfo(RMLine l1, RMLine l2)
Dispatches to the right call depending on the subclass.
-