Class PairLineNorm


  • public class PairLineNorm
    extends java.lang.Object
    A pair of line observations found in two different images. The line is described by a vector, which is the normal of the plane defined by the line on the image plane and the camera's origin. The cross product of the two end points (in homogeneous pixels) would define a line in this manor.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      georegression.struct.point.Vector3D_F64 l1
      Location of the feature in the first image
      georegression.struct.point.Vector3D_F64 l2
      Location of the feature in the second image.
    • Constructor Summary

      Constructors 
      Constructor Description
      PairLineNorm()  
      PairLineNorm​(boolean declare)
      Constructor which allows the lines to not be declared.
      PairLineNorm​(georegression.struct.point.Vector3D_F64 l1, georegression.struct.point.Vector3D_F64 l2)
      Creates a new instance by copying the values of the two lines.
      PairLineNorm​(georegression.struct.point.Vector3D_F64 l1, georegression.struct.point.Vector3D_F64 l2, boolean newInstance)
      Creates a new instance by either copying or saving a reference to the two lines
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void assign​(georegression.struct.point.Vector3D_F64 l1, georegression.struct.point.Vector3D_F64 l2)
      Sets p1 and p2 to reference the passed in objects.
      georegression.struct.point.Vector3D_F64 getL1()  
      georegression.struct.point.Vector3D_F64 getL2()  
      void set​(georegression.struct.point.Vector3D_F64 l1, georegression.struct.point.Vector3D_F64 l2)
      Sets the value of p1 and p2 to be equal to the values of the passed in objects
      void setL1​(georegression.struct.point.Vector3D_F64 l1)  
      void setL2​(georegression.struct.point.Vector3D_F64 l2)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • l1

        public georegression.struct.point.Vector3D_F64 l1
        Location of the feature in the first image
      • l2

        public georegression.struct.point.Vector3D_F64 l2
        Location of the feature in the second image.
    • Constructor Detail

      • PairLineNorm

        public PairLineNorm()
      • PairLineNorm

        public PairLineNorm​(boolean declare)
        Constructor which allows the lines to not be declared.
        Parameters:
        declare - If true then new lines will be declared
      • PairLineNorm

        public PairLineNorm​(georegression.struct.point.Vector3D_F64 l1,
                            georegression.struct.point.Vector3D_F64 l2)
        Creates a new instance by copying the values of the two lines.
        Parameters:
        l1 - image 1 location
        l2 - image 2 location
      • PairLineNorm

        public PairLineNorm​(georegression.struct.point.Vector3D_F64 l1,
                            georegression.struct.point.Vector3D_F64 l2,
                            boolean newInstance)
        Creates a new instance by either copying or saving a reference to the two lines
        Parameters:
        l1 - image 1 location
        l2 - image 2 location
        newInstance - Should it create new lines or save a reference to these instances.
    • Method Detail

      • set

        public void set​(georegression.struct.point.Vector3D_F64 l1,
                        georegression.struct.point.Vector3D_F64 l2)
        Sets the value of p1 and p2 to be equal to the values of the passed in objects
      • assign

        public void assign​(georegression.struct.point.Vector3D_F64 l1,
                           georegression.struct.point.Vector3D_F64 l2)
        Sets p1 and p2 to reference the passed in objects.
      • getL1

        public georegression.struct.point.Vector3D_F64 getL1()
      • setL1

        public void setL1​(georegression.struct.point.Vector3D_F64 l1)
      • getL2

        public georegression.struct.point.Vector3D_F64 getL2()
      • setL2

        public void setL2​(georegression.struct.point.Vector3D_F64 l2)