Class IntersectionLinesGeneral_F32

java.lang.Object
georegression.geometry.lines.IntersectionLinesGeneral_F32

@Generated("georegression.geometry.lines.IntersectionLinesGeneral_F64") public class IntersectionLinesGeneral_F32 extends Object
Finds the intersection of LineGeneral2D_F32 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.FMatrixRMaj> solver
      Linear solver used internally. Swap out if speed is needed more than accuracy
    • A

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

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

    • IntersectionLinesGeneral_F32

      public IntersectionLinesGeneral_F32()
  • Method Details

    • process

      public boolean process(List<LineGeneral2D_F32> lines, Point3D_F32 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