Class 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 Detail

      • RMPathOffsetter

        public RMPathOffsetter()
    • Method Detail

      • createOffsetPath

        public static RMPath createOffsetPath​(RMPath inPath,
                                              float offset)
      • hitInfo

        public static RMHitInfo hitInfo​(RMLine l1,
                                        RMLine l2)
        Dispatches to the right call depending on the subclass. Frees the caller from the burden of casting to get the right routine.