public class ThreePointCircleFitter extends Object
Modifier and Type | Field and Description |
---|---|
private CircleFit |
_fit |
private static double[][] |
a |
private static double[][] |
m |
Constructor and Description |
---|
ThreePointCircleFitter()
Creates a new instance of ThreePointCircleFitter
|
Modifier and Type | Method and Description |
---|---|
private double |
determinant(double[][] a,
int n) |
boolean |
fit(double[] p1,
double[] p2,
double[] p3)
Find the circle which passes through three points
|
CircleFit |
getFit()
Get the result of the fit.
|
private CircleFit _fit
private static double[][] a
private static double[][] m
public ThreePointCircleFitter()
public boolean fit(double[] p1, double[] p2, double[] p3)
p1
- The first point.p2
- The second point.p3
- The third point.public CircleFit getFit()
private double determinant(double[][] a, int n)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.