public final class Point extends AbstractGeometricPrimitive
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Make a deep copy of the geometric object
|
boolean |
equals(java.lang.Object obj) |
Position |
getPosition()
Get the position
|
void |
setPosition(Position pos)
Set the position
|
public Point()
public Point(Position pos)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
AbstractGeometryclone in class AbstractGeometryjava.lang.CloneNotSupportedExceptionpublic boolean equals(java.lang.Object obj)
equals in class AbstractGeometrypublic Position getPosition()
public void setPosition(Position pos)
pos - the new positionCopyright © 2025. All rights reserved.