de.cau.cs.kieler.klay.force.graph
Class FParticle
java.lang.Object
de.cau.cs.kieler.core.properties.MapPropertyHolder
de.cau.cs.kieler.klay.force.graph.FParticle
- All Implemented Interfaces:
- IPropertyHolder
- Direct Known Subclasses:
- FBendpoint, FLabel, FNode
public abstract class FParticle
- extends MapPropertyHolder
A particle in the force graph, that is an object that can attract or repulse other particles.
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FParticle
public FParticle()
getPosition
public final KVector getPosition()
- Returns the position vector of this particle.
- Returns:
- the position vector
getSize
public final KVector getSize()
- Returns the size of this particle.
- Returns:
- the dimension vector
getRadius
public double getRadius()
- Calculate radius for this particle.
- Returns:
- radius of smallest circle surrounding shape of p