public interface Punctual
Modifier and Type | Method and Description |
---|---|
default double[] |
getCoordinates()
Gets the coordinates of the punctual shape.
|
double |
getX()
Returns the x-coordinate of the punctual shape.
|
double |
getY()
Returns the y coordinate of the punctual shape.
|
default void |
setCoordinates(double[] coordinates)
Sets the coordinates of the punctual shape.
|
default void |
setCoordinates(double x,
double y)
Sets the coordinates the punctual shape.
|
void |
setX(double x)
Sets the x-coordinate of the punctual shape.
|
void |
setY(double y)
Sets the y-coordinate of the punctual shape.
|
double getX()
void setX(double x)
x
- See above.double getY()
void setY(double y)
y
- See above.default void setCoordinates(double x, double y)
x
- x-coordinate of the PointData shape.y
- y-coordinate of the PointData shape.default double[] getCoordinates()
default void setCoordinates(double[] coordinates)
coordinates
- Array of coordinates containing {X,Y}.Copyright © 2020–2023 GReD. All rights reserved.