Package boofcv.abst.geo.bundle
Class SceneStructureCommon.Point
java.lang.Object
boofcv.abst.geo.bundle.SceneStructureCommon.Point
- Enclosing class:
- SceneStructureCommon
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal double[]Where the point is in the world reference frame.Indexes of the views that this point appears in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoublevoidget(Point3D_F64 p) voidget(Point4D_F64 p) doublegetW()doublegetX()doublegetY()doublegetZ()voidNormalize a point in homogenous coordinate so that it's f-norm is 1voidremoveView(int which) Removes the specified view from the list of views.voidreset()voidset(double x, double y, double z) voidset(double x, double y, double z, double w)
-
Field Details
-
coordinate
public final double[] coordinateWhere the point is in the world reference frame. 3D or 4D space -
views
Indexes of the views that this point appears in
-
-
Constructor Details
-
Point
public Point(int dof)
-
-
Method Details
-
reset
public void reset() -
removeView
public void removeView(int which) Removes the specified view from the list of views. If it's not contained in the list an exception is thrown- Parameters:
which- Index of the view which is to be removed
-
set
public void set(double x, double y, double z) -
set
public void set(double x, double y, double z, double w) -
get
-
get
-
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getW
public double getW() -
distanceSq
-
normalizeH
public void normalizeH()Normalize a point in homogenous coordinate so that it's f-norm is 1 -
distance
-
distance
-