mpi.cbg.fly
Class PointMatch
java.lang.Object
mpi.cbg.fly.PointMatch
public class PointMatch
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointMatch
public PointMatch(Point p1,
Point p2,
float weight)
PointMatch
public PointMatch(Point p1,
Point p2)
getP1
public final Point getP1()
getP2
public final Point getP2()
getWeight
public final float getWeight()
setWeight
public final void setWeight(float weight)
getDistance
public final float getDistance()
apply
public final void apply(Model model)
- apply a model to p1, update distance
- Parameters:
model -
flip
public static final java.util.ArrayList<PointMatch> flip(java.util.Collection<PointMatch> matches)
- flip symmetrically, weight remains unchanged
- Parameters:
matches -
- Returns: