public class PointMatch
extends java.lang.Object
Constructor and Description |
---|
PointMatch(Point p1,
Point p2) |
PointMatch(Point p1,
Point p2,
float weight) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Model model)
apply a model to p1, update distance
|
static java.util.ArrayList<PointMatch> |
flip(java.util.Collection<PointMatch> matches)
flip symmetrically, weight remains unchanged
|
float |
getDistance() |
Point |
getP1() |
Point |
getP2() |
float |
getWeight() |
void |
setWeight(float weight) |
public final Point getP1()
public final Point getP2()
public final float getWeight()
public final void setWeight(float weight)
public final float getDistance()
public final void apply(Model model)
model
- public static final java.util.ArrayList<PointMatch> flip(java.util.Collection<PointMatch> matches)
matches
-