package ec.gp.semantic.geometry;

import ec.gp.semantic.ISemantics;

import java.util.Iterator;
import java.util.List;

/**
 * @author Tomasz Pawlak
 */
public interface IBallBuilder {

    /**
     * Calculates collection of semantics that wrap around given 'center' semantics.
     *
     * @param center
     * @param radius Positive value that reflects distance between calculated points and center (in some domains may be ignored).
     * @return
     */
    Iterator<ISemantics> getPointsAround(ISemantics center, double radius);

}
