InterpolationMode.java

package com.varnernet.gerb4j;

/**
 * Interpolation mode for coordinate interpolation (G01 / G02 / G03).
 *
 * <p>This enum was previously defined as a package-private inner enum inside {@link GerberContext}.
 * It is now a public top-level type so that external code (e.g. tests and future renderers) can
 * refer to it without depending on {@code GerberContext}'s internals.
 */
public enum InterpolationMode {
    /**
     * G01 — straight-line interpolation.
     */
    LINEAR,
    /**
     * G02 — clockwise arc interpolation.
     */
    CLOCKWISE_ARC,
    /**
     * G03 — counter-clockwise arc interpolation.
     */
    COUNTERCLOCKWISE_ARC
}