Class IntersectionLinesGeneral_F64

java.lang.Object
georegression.geometry.lines.IntersectionLinesGeneral_F64

public class IntersectionLinesGeneral_F64 extends Object
Finds the intersection of LineGeneral2D_F64 by minimizing algebraic error. The output point will be in homogenous coordinates and coule be at infinity.
  • Field Details

    • solver

      public org.ejml.interfaces.SolveNullSpace<org.ejml.data.DMatrixRMaj> solver
      Linear solver used internally. Swap out if speed is needed more than accuracy
    • A

      protected final org.ejml.data.DMatrixRMaj A
    • x

      protected final org.ejml.data.DMatrixRMaj x
  • Constructor Details

    • IntersectionLinesGeneral_F64

      public IntersectionLinesGeneral_F64()
  • Method Details

    • process

      public boolean process(List<LineGeneral2D_F64> lines, Point3D_F64 intersection)
      Solves for the best fit point of intersection
      Parameters:
      lines - (Input) Set of lines
      intersection - (Output) Found 2D homogenous coordinate
      Returns:
      true if nothing went horribly wrong