![JAR search and dependency download from the Maven repository](/logo.png)
zext.plantuml.com.ctreber.acearth.util.Point2D Maven / Gradle / Ivy
package zext.plantuml.com.ctreber.acearth.util;
/**
* A point in a 2 axis space.
*
*
© 2002 Christian Treber, [email protected]
* @author Christian Treber, [email protected]
*
*/
public class Point2D
{
private double fX;
private double fY;
public Point2D(double pX, double pY)
{
fX = pX;
fY = pY;
}
public double getX()
{
return fX;
}
public double getY()
{
return fY;
}
public String toString()
{
return "x: " + fX + ", y: " + fY;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy