src.math.geom2d.transform.Transform2D Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javaGeom Show documentation
Show all versions of javaGeom Show documentation
JavaGeom - The aim of JavaGeom is to provide methods to easily perform geometric computations, such as intersections of lines, clipping of polygons, transformation shapes, perimeter and area computations...
This is a binary & source redistribution of the original, unmodified JavaGeom library originating from:
"http://sourceforge.net/projects/geom-java/files/javaGeom/javaGeom%200.11.1/".
The purpose of this redistribution is to make the library available to other Maven projects.
The newest version!
/* 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);
}