Class RMPathOffsetter
java.lang.Object
com.inductiveautomation.rm.graphics.RMPathOffsetter
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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic RMPathcreateOffsetPath(RMPath aPath, float offset) Create offset path.static voidevaluateBezierAndTangent(int degree, double t, RMPoint[] cpts, RMPoint tpoint, RMSize tan) Simultaneously find point on curve, as well as the tangent at that point.static RMHitInfoDispatches to the right call depending on the subclass.
- 
Constructor Details- 
RMPathOffsetterpublic RMPathOffsetter()
 
- 
- 
Method Details- 
createOffsetPathCreate offset path.
- 
hitInfoDispatches to the right call depending on the subclass.
- 
evaluateBezierAndTangentpublic 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.
 
-