public class AssociatedPair3D
extends java.lang.Object
The observed location of a feature in two camera views. Typically a point in homogenous coordinates a line.
| Modifier and Type | Field and Description |
|---|---|
georegression.struct.point.Point3D_F64 |
p1
Location of the feature in the first image
|
georegression.struct.point.Point3D_F64 |
p2
Location of the feature in the second image.
|
| Constructor and Description |
|---|
AssociatedPair3D() |
AssociatedPair3D(boolean declare)
Constructor which allows the points to not be declared.
|
AssociatedPair3D(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
Creates a new associated point from the two provided points.
|
AssociatedPair3D(georegression.struct.point.Point3D_F64 p1,
georegression.struct.point.Point3D_F64 p2)
Assigns the value to the two passed in features.
|
AssociatedPair3D(georegression.struct.point.Point3D_F64 p1,
georegression.struct.point.Point3D_F64 p2,
boolean newInstance)
Allows features to either be copied or saved as references.
|
| Modifier and Type | Method and Description |
|---|---|
void |
assign(georegression.struct.point.Point3D_F64 p1,
georegression.struct.point.Point3D_F64 p2)
Changes the references to the passed in objects.
|
AssociatedPair3D |
copy() |
georegression.struct.point.Point3D_F64 |
getP1() |
georegression.struct.point.Point3D_F64 |
getP2() |
void |
set(AssociatedPair3D original) |
void |
set(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
Assigns this object to be equal to the passed in values.
|
void |
set(georegression.struct.point.Point3D_F64 p1,
georegression.struct.point.Point3D_F64 p2)
Assigns this object to be equal to the passed in values.
|
java.lang.String |
toString() |
public georegression.struct.point.Point3D_F64 p1
public georegression.struct.point.Point3D_F64 p2
public AssociatedPair3D()
public AssociatedPair3D(boolean declare)
declare - If true then new points will be declaredpublic AssociatedPair3D(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
x1 - image 1 location x-axis.y1 - image 1 location y-axis.x2 - image 2 location x-axis.y2 - image 2 location y-axis.public AssociatedPair3D(georegression.struct.point.Point3D_F64 p1,
georegression.struct.point.Point3D_F64 p2)
p1 - image 1 locationp2 - image 2 locationpublic AssociatedPair3D(georegression.struct.point.Point3D_F64 p1,
georegression.struct.point.Point3D_F64 p2,
boolean newInstance)
p1 - image 1 locationp2 - image 2 locationnewInstance - Should it create new points or save a reference to these instances.public void set(AssociatedPair3D original)
public void set(georegression.struct.point.Point3D_F64 p1,
georegression.struct.point.Point3D_F64 p2)
public void set(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
public void assign(georegression.struct.point.Point3D_F64 p1,
georegression.struct.point.Point3D_F64 p2)
public georegression.struct.point.Point3D_F64 getP1()
public georegression.struct.point.Point3D_F64 getP2()
public AssociatedPair3D copy()
public java.lang.String toString()
toString in class java.lang.Object