public class Point extends BasicMesh
Constructor and Description |
---|
Point()
The basic constructor
|
Point(double x,
double y,
double z)
A constructor for specifying the point's location
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object otherObject) |
double |
getX()
Getter for the x coordinate.
|
double |
getY()
Getter for the y coordinate
|
double |
getZ()
Getter for the z coordinate
|
int |
hashCode() |
void |
setX(double x)
Setter for the x coordinate
|
void |
setY(double y)
Setter for the y coordinate
|
void |
setZ(double z)
Setter for the z coordinate
|
void |
updateLocation(double x,
double y,
double z)
Set the point's location.
|
addEntity, addEntityToCategory, copy, getAllEntities, getController, getEntities, getEntitiesFromCategory, getEntitiesFromCategory, getEntityCategories, getProperties, getProperty, getPropertyMap, getRotation, getScale, getSize, getSkew, getSubscriptions, getTransformation, getTranslation, getType, register, removeEntity, setController, setEntities, setProperties, setProperty, setTransformation, setType, unregister, update
public Point()
public Point(double x, double y, double z)
x
- The point's x coordinatey
- The point's y coordinatez
- The point's z coordinatepublic double getX()
public void setX(double x)
x
- The point's new x coordinatepublic double getY()
public void setY(double y)
y
- The new y coordinatepublic double getZ()
public void setZ(double z)
z
- The new z coordinatepublic void updateLocation(double x, double y, double z)
x
- The new x coordinatey
- The new y coordinatez
- The new z coordinate