/* File Transform2D.java 
 *
 * Project : Java Geometry Library
 *
 * ===========================================
 * 
 * This library is free software; you can redistribute it and/or modify it 
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 2.1 of the License, or (at
 * your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library. if not, write to :
 * The Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307, USA.
 */

// package

package math.geom2d.transform;

// Imports
import math.geom2d.Point2D;

/**
 * general class for all transformation in the plane, linear or not linear.
 */
public interface Transform2D {

    // ===================================================================
    // constants

    // ===================================================================
    // class variables

    // ===================================================================
    // constructors

    // ===================================================================
    // accessors

    // ===================================================================
    // modifiers

    // ===================================================================
    // general methods

    /** Transforms a point */
    public abstract Point2D transform(Point2D src);

    /** Transforms an array of points, and returns the transformed points. */

    public abstract Point2D[] transform(Point2D[] src, Point2D[] dst);

}
 

Ads help maintain this website.