Class StraightRouter

    • Constructor Detail

      • StraightRouter

        public StraightRouter()
    • Method Detail

      • getAnchoredReferencePoint

        protected Point getAnchoredReferencePoint​(java.util.List<Point> points,
                                                  int index)
        Returns the reference point for the anchor at the given index.
        Specified by:
        getAnchoredReferencePoint in class AbstractRouter
        Parameters:
        index - The index specifying the anchor for which to provide a reference point.
        points - The list of Points from which the Connection is currently constituted.
        Returns:
        The reference point for the anchor at the given index within the local coordinate system of the anchored, which is the Connection's curve.