public class LinearEdge extends Edge
Constructor and Description |
---|
LinearEdge()
The default constructor.
|
LinearEdge(VertexController start,
VertexController end)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
calculateLength()
Calculates the length of the edge, saving the value in this object as
well as returning it to the caller.
|
java.lang.Object |
clone() |
addEntityToCategory, copy, getEndLocation, getLength, getStartLocation, register, setController
addEntity, equals, getAllEntities, getController, getEntities, getEntitiesFromCategory, getEntitiesFromCategory, getEntityCategories, getProperties, getProperty, getPropertyMap, getRotation, getScale, getSize, getSkew, getSubscriptions, getTransformation, getTranslation, getType, hashCode, removeEntity, setEntities, setProperties, setProperty, setTransformation, setType, unregister, update
public LinearEdge()
public LinearEdge(VertexController start, VertexController end)
start
- end
- public double calculateLength()
Edge
calculateLength
in class Edge