Package boofcv.abst.geo.bundle
Class SceneStructureCommon.Point
- java.lang.Object
-
- boofcv.abst.geo.bundle.SceneStructureCommon.Point
-
- Enclosing class:
- SceneStructureCommon
public static class SceneStructureCommon.Point extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description double[]coordinateWhere the point is in the world reference frame.org.ddogleg.struct.GrowQueue_I32viewsIndexes of the views that this point appears in
-
Constructor Summary
Constructors Constructor Description Point(int dof)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubledistance(SceneStructureCommon.Point p)doubledistance(georegression.struct.point.Point3D_F64 p)doubledistanceSq(georegression.struct.point.Point3D_F64 p)voidget(georegression.struct.point.Point3D_F64 p)voidget(georegression.struct.point.Point4D_F64 p)doublegetW()doublegetX()doublegetY()doublegetZ()voidnormalizeH()Normalize 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)
-
-
-
Method Detail
-
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
public void get(georegression.struct.point.Point3D_F64 p)
-
get
public void get(georegression.struct.point.Point4D_F64 p)
-
getX
public double getX()
-
getY
public double getY()
-
getZ
public double getZ()
-
getW
public double getW()
-
distanceSq
public double distanceSq(georegression.struct.point.Point3D_F64 p)
-
normalizeH
public void normalizeH()
Normalize a point in homogenous coordinate so that it's f-norm is 1
-
distance
public double distance(georegression.struct.point.Point3D_F64 p)
-
distance
public double distance(SceneStructureCommon.Point p)
-
-