rp1.rossum
Class RsPoint
java.lang.Object
rp1.rossum.RsPoint
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- RsSegment
public class RsPoint
- extends java.lang.Object
- implements java.io.Serializable
A representation of a single point.
- See Also:
- Serialized Form
Field Summary |
double |
x
|
double |
y
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public double x
y
public double y
RsPoint
public RsPoint()
RsPoint
public RsPoint(RsPoint point)
RsPoint
public RsPoint(double xarg,
double yarg)
RsPoint
public RsPoint(int xarg,
int yarg)
RsPoint
public RsPoint(RsVector input)
subtract
public RsVector subtract(RsPoint p)
move
public void move(double xArg,
double yArg)
move
public void move(int xArg,
int yArg)
translate
public void translate(double xArg,
double yArg)
translate
public void translate(int xArg,
int yArg)
translate
public void translate(RsVector v)
distance
public double distance(RsPoint test)
copy
public void copy(RsPoint p)