public class Vertex extends Point
Constructor and Description |
---|
Vertex()
The default constructor
|
Vertex(double x,
double y,
double z)
A constructor specifying the vertex's location
|
Modifier and Type | Method and Description |
---|---|
void |
addEntity(IController entity)
Add a new entity to the part.
|
void |
addEntityToCategory(IController entity,
IMeshCategory category)
Adds a new child entity under the given category.
|
java.lang.Object |
clone() |
void |
copy(IMesh otherObject)
Deep copies the contents of another AbstractMeshComponent into this one.
|
equals, getX, getY, getZ, hashCode, setX, setY, setZ, updateLocation
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 Vertex()
public Vertex(double x, double y, double z)
x
- The vertex's x coordinatey
- The vertex's y coordinatez
- The vertex's z coordinatepublic void addEntity(IController entity)
IMesh
public void addEntityToCategory(IController entity, IMeshCategory category)
IMesh
addEntityToCategory
in interface IMesh
addEntityToCategory
in class BasicMesh
entity
- The new child entity to be addedcategory
- The new entity's category