|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsugr.Element
sugr.Entity
sugr.Object_3D
sugr.Plane_3D
Implementation of Plane_3D
Field Summary | |
private static int |
DIM
|
private static int |
DOF
|
private static long |
serialVersionUID
Class version number for serialization |
Fields inherited from class sugr.Element |
cov, MAXITER, v |
Constructor Summary | |
Plane_3D()
default constructor |
|
Plane_3D(double x,
double y,
double z)
constructs a new Plane_3D by specifying the homogeneous part. |
|
Plane_3D(double x,
double y,
double z,
double w)
constructs a new plane by setting all entries directly. |
|
Plane_3D(double x,
double y,
double z,
double w,
Matrix cov)
constructs a new plane by setting all entries directly. |
|
Plane_3D(double x,
double y,
double z,
Matrix cov)
constructs a new Plane_3D by specifying the homogeneous part. |
|
Plane_3D(Line_3D L1,
Line_3D L2)
estimates a new plane by a join of two coplanar lines |
|
Plane_3D(Line_3D line,
Point_3D point)
constructs a new plane by a join between point and line. |
|
Plane_3D(Point_3D point,
Line_3D line)
constructs a new plane by a join between point and line. |
|
Plane_3D(Point_3D point1,
Point_3D point2,
Point_3D point3)
constructs a plane by a join of three points. |
|
Plane_3D(RelationalProperty[] rprops)
Estimates a new plane |
|
Plane_3D(Vector _v,
Matrix _cov)
Constructor for a new Plane_3D |
Method Summary | |
Plane_3D |
copy()
returns a copy of this plane. |
protected Matrix |
getConditionMatrix(double f)
Get a matrix W(f) for conditioning. |
Matrix |
getCovarianceOfJacobianRowOfRelation(java.lang.Class relationType,
java.lang.Class partnerType,
int row)
Return Covariance of a Row of the Jacobian Matrix of that entity in combination with a relation. |
int |
getDegreesOfFreedom()
returns dof=3 of this plane |
int |
getDimension()
returns dimension=4 for this plane |
double |
getDistance(Entity e)
Compute the (euclidean) distance to another entity. |
int |
getDofOfRelation(java.lang.Class relationType,
java.lang.Class partnerType)
Compute degrees of freedom of a relation. |
Vector |
getEuclideanPart()
returns the euclidean part of this plane |
Vector |
getHomogeneousPart()
returns the homogeneous part of this plane |
Matrix |
getJacobianOfRelation(java.lang.Class relationType,
java.lang.Class partnerType)
Return Jacobian Matrix of that entity in combination with a relation. |
protected Matrix[] |
getReducedAB(RelationalProperty rprop)
Get the reduced Matrix A and B from a relational property. |
void |
normalizeEuclidean()
normalizes in that way, that the homogeneous part will be 1 |
Matrix |
Pi()
returns the pi-jacobian of this plane |
static Matrix |
Pi(Vector v_in)
returns the pi-jacobian of a 4x1 vector |
Matrix |
PiDual()
returns the pidual-jacobian of the dual of this plane |
static Matrix |
PiDual(Vector v)
Returns the pidual-jacobian of the dual of a 4x1 vector Uses now the PiDual function of Point to ensure consistency (T.Laebe, 15.11.05) |
Methods inherited from class sugr.Element |
approximate, calcCov, changeNullspace, changeNullspace, checkCovDim, checkElement, clone, ensureConstraints, estimate, estimate, gaussHelmertIterations, gaussHelmertIterationsOld, getConstraintValue, getCov, getJacobianOfConstraint, getV, normalizeSphere, normalizeSphereComparable, print, print, reduceFirstMatrix, reduceMatrix, reduceMatrix, setCov, setV, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private static final int DIM
private static final int DOF
Constructor Detail |
public Plane_3D(Vector _v, Matrix _cov)
_v
- a Vector with dimension 4. Contains the coordinates of the new Line_2D_cov
- 4x4 covariance matrixpublic Plane_3D(double x, double y, double z, double w)
public Plane_3D(double x, double y, double z, double w, Matrix cov)
cov
- 4x4 Matrixpublic Plane_3D(double x, double y, double z)
public Plane_3D(double x, double y, double z, Matrix cov)
public Plane_3D(Point_3D point, Line_3D line)
point
- a Point_3Dline
- a Line_3Dpublic Plane_3D(Line_3D line, Point_3D point)
point
- a Point_3Dline
- a Line_3Dpublic Plane_3D(Line_3D L1, Line_3D L2)
L1
- a Line_3DL2
- a Line_3D
TODO: test fails, because covariance differs from statistically
computed one, check estimationpublic Plane_3D(RelationalProperty[] rprops)
rprops
- an array of constraints.public Plane_3D(Point_3D point1, Point_3D point2, Point_3D point3)
public Plane_3D()
Method Detail |
public Vector getEuclideanPart()
getEuclideanPart
in class Entity
public Vector getHomogeneousPart()
getHomogeneousPart
in class Entity
public double getDistance(Entity e)
getDistance
in class Entity
e
- the entity to which a distance should be computed.
protected Matrix getConditionMatrix(double f)
getConditionMatrix
in class Entity
f
- the conditioning factor
public Plane_3D copy()
public int getDimension()
getDimension
in class Element
public int getDegreesOfFreedom()
getDegreesOfFreedom
in class Entity
public Matrix Pi()
public static Matrix Pi(Vector v_in)
public Matrix PiDual()
public static Matrix PiDual(Vector v)
public void normalizeEuclidean()
normalizeEuclidean
in class Entity
public Matrix getJacobianOfRelation(java.lang.Class relationType, java.lang.Class partnerType) throws java.lang.IllegalArgumentException
getJacobianOfRelation
in class Entity
relationType
- the type of the relationpartnerType
- the type of the other partner in the relation
java.lang.IllegalArgumentException
public int getDofOfRelation(java.lang.Class relationType, java.lang.Class partnerType) throws java.lang.IllegalArgumentException
Compute degrees of freedom of a relation.
getDofOfRelation
in class Entity
relationType
- the type of the relationpartnerType
- the type of the other partner in the relation
java.lang.IllegalArgumentException
protected Matrix[] getReducedAB(RelationalProperty rprop)
getReducedAB
in class Element
rprop
- the relational Property
public Matrix getCovarianceOfJacobianRowOfRelation(java.lang.Class relationType, java.lang.Class partnerType, int row) throws java.lang.IllegalArgumentException
getCovarianceOfJacobianRowOfRelation
in class Entity
relationType
- the type of the relationpartnerType
- the type of the other partner in the relation
java.lang.IllegalArgumentException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |