GP.Attributes
Class Coordinate
java.lang.Object
|
+--GP.Attributes.Coordinate
- All Implemented Interfaces:
- java.io.Serializable, GP.Serializable
- Direct Known Subclasses:
- Centered, LineEnd, LineStart, MidPointBetween, Mouse, OffsetFrom, Random, Shape
- public class Coordinate
- extends java.lang.Object
- implements GP.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Coordinate
public Coordinate()
Coordinate
public Coordinate(double x,
double y)
Coordinate
public Coordinate(Value x,
Value y)
Coordinate
public Coordinate(double x,
double y,
double z)
Coordinate
public Coordinate(Value x,
Value y,
Value z)
Coordinate
public Coordinate(Coordinate other)
Copy
public Coordinate Copy()
GetX
public double GetX()
GetY
public double GetY()
GetZ
public double GetZ()
equals
public boolean equals(java.lang.Object coordinate)
- Overrides:
equals
in class java.lang.Object
Difference
public Dimension Difference(Coordinate other)
toData
public java.lang.String toData()
- Specified by:
toData
in interface GP.Serializable
fromData
public void fromData(java.lang.String data)
- Specified by:
fromData
in interface GP.Serializable