com.ctreber.acearth.util.Point2D Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml Show documentation
Show all versions of plantuml Show documentation
PlantUML is a component that allows to quickly write :
* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram
The newest version!
package 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;
}
}