Package boofcv.abst.geo.bundle
Class SceneStructureCommon.Point
java.lang.Object
boofcv.abst.geo.bundle.SceneStructureCommon.Point
- Enclosing class:
- SceneStructureCommon
-
Field Summary
Modifier and TypeFieldDescriptionfinal double[]
Where the point is in the world reference frame.Indexes of the views that this point appears in -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
double
double
void
get
(Point3D_F64 p) void
get
(Point4D_F64 p) double
getW()
double
getX()
double
getY()
double
getZ()
void
Normalize a point in homogenous coordinate so that it's f-norm is 1void
removeView
(int which) Removes the specified view from the list of views.void
reset()
void
set
(double x, double y, double z) void
set
(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
-