All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.graphbuilder.geom.Point2d Maven / Gradle / Ivy

Go to download

Implementation of various mathematical curves that define themselves over a set of control points. The API is written in Java. The curves supported are: Bezier, B-Spline, Cardinal Spline, Catmull-Rom Spline, Lagrange, Natural Cubic Spline, and NURBS.

There is a newer version: 1.08
Show newest version
package com.graphbuilder.geom;

import com.graphbuilder.curve.Point;

/**
The Point2d interface represents a two-dimensional point using double precision.
This interface is useful when writing general geometry algorithms.
*/
public interface Point2d extends Point {

	/**
	Sets the location of the point.
	*/
	public void setLocation(double x, double y);

	/**
	Returns the x-coordinate.
	*/
	public double getX();

	/**
	Returns the y-coordinate.
	*/
	public double getY();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy