Modifier and Type | Method and Description |
---|---|
static Force2D |
SpringForce.calculate(PlacementFrame.PlacementNode node1,
PlacementFrame.PlacementNode node2,
double weight,
double minDist) |
static Force2D |
SpringForce.calculate(PlacementFrame.PlacementPort port1,
PlacementFrame.PlacementPort port2,
double weight,
double minDist) |
Force2D |
IForceAlgorithm.calculate(java.awt.geom.Point2D node1,
java.awt.geom.Point2D node2,
double weight,
double minDist) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<PlacementFrame.PlacementNode,Force2D> |
PlacementDTO.getForces() |
Modifier and Type | Method and Description |
---|---|
void |
PlacementDTO.setForces(java.util.Map<PlacementFrame.PlacementNode,Force2D> forces) |
Modifier and Type | Method and Description |
---|---|
Force2D |
Force2D.add(Force2D force) |
Force2D |
Force2D.mult(double weight) |
Modifier and Type | Method and Description |
---|---|
Force2D |
Force2D.add(Force2D force) |