Class Circle2afp.AbstractCirclePathIterator<T extends PathElement2afp>

    • Field Detail

      • CTRL_POINT_DISTANCE

        public static final double CTRL_POINT_DISTANCE
        Distance from a Bezier curve control point on the circle to the other control point.

        4/3 tan (PI/(2*n)), where n is the number on points on the circle.

        See Also:
        Constant Field Values
      • BEZIER_CONTROL_POINTS

        public static final double[][] BEZIER_CONTROL_POINTS
        Contains the control points for a set of 4 cubic bezier curves that approximate a circle of radius 1 centered at (0, 0).
      • NUMBER_ELEMENTS

        protected static final int NUMBER_ELEMENTS
        4 segments + close.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractCirclePathIterator

        public AbstractCirclePathIterator​(Circle2afp<?,​?,​T,​?,​?,​?> circle)
        Constructor.
        Parameters:
        circle - the circle.