sugr
Class Parallel

java.lang.Object
  extended bysugr.BiRelationalProperty
      extended bysugr.Parallel
All Implemented Interfaces:
java.lang.Cloneable, RelationalProperty

public class Parallel
extends BiRelationalProperty

Contains methods if two elements are parallel or not. You can retrieve then a lot of information about this test, for example: chiČ-value used, the testvalue and so on.

Version:
1.1 (8.2.2003) :
- compute_distance -> Line_2D/Line_2D Covariance-calculation is now right ;-)
1.1.1 (11.2.2003)
Fixed: compute_distance -> Line_2D/Line_2D Covariance-calculation changed from l.getCov() to l.getJacobeanHomogeneousPart(). Analog m
Fixed: compute_distance -> Plane_3D/Plane_3D Covariance-calculation changed from a.getCov() to a.getJacobeanHomogeneousPart(). Analog b
1.2 (20.2.2003)
Fixed: computation of error propagation (ep) was wrong in Line_2D/Line2D, Line_3D/Plane_3D. ep needs also the homogeneous parts of the elements - just adding covariances is not enough ;-)
1.2.1 (24.2.2003)
Changed: works now on copies of entities. This preserves the original input values from changing!!! 2.0 (June 2003)
Is now derived from BiRelationalProperty !!!
Author:
Norbert Fischer

Field Summary
 
Fields inherited from class sugr.BiRelationalProperty
first, secondEntityType
 
Constructor Summary
Parallel(Line_2D l, java.lang.Class secondClass)
          Build up an Parallel-Relation between two Line_2D.
Parallel(Line_3D l, java.lang.Class secondClass)
          Build up an Parallel-Relation between two Line_3D.
Parallel(Plane_3D a, java.lang.Class secondClass)
          Build up an Parallel-Relation between two Plane_3D.
 
Method Summary
 Matrix getCovarianceOfJacobianRow(int row)
           Returns the Covariance Matrix of the row-vector of the Jacobian Matrix A of the first Entity and the relation type.
 int getDof()
           Compute degrees of freedom of that Relation
 Matrix getJacobian()
           Return Jacobian Matrix A of the first Entity and the relation type.
 
Methods inherited from class sugr.BiRelationalProperty
changeNullspace, clone, doCondition, doCondition, ensureConstraints, getCovarianceOfObservations, getFirstEntity, getJacobianOfObservationConstraints, getObservations, getReducedCovarianceOfObservations, getTargetType, getValueOfObservationConstraints, setObservations
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parallel

public Parallel(Line_2D l,
                java.lang.Class secondClass)
Build up an Parallel-Relation between two Line_2D.

Parameters:
l - first Line_2D
secondClass - must always be a Line_2D

Parallel

public Parallel(Line_3D l,
                java.lang.Class secondClass)
Build up an Parallel-Relation between two Line_3D.

Parameters:
l - first Line_3D
secondClass - could be a Line_3D or Plane_3D

Parallel

public Parallel(Plane_3D a,
                java.lang.Class secondClass)
Build up an Parallel-Relation between two Plane_3D.

Parameters:
a - first Plane_3D
secondClass - could be a Plane_3D or Line_3D
Method Detail

getJacobian

public Matrix getJacobian()

Return Jacobian Matrix A of the first Entity and the relation type. Be careful: For estimation , the Jacobian must have another sign for Jacobian of observations and unknowns in case of lines and planes. So deliver (-1)* the Jacobian of the Entity ! (See table 3.6. on page 73 of diss of Stephan Heuel!)

Specified by:
getJacobian in interface RelationalProperty
Specified by:
getJacobian in class BiRelationalProperty
Returns:
Jacobian Matrix A


getDof

public int getDof()

Compute degrees of freedom of that Relation

Specified by:
getDof in interface RelationalProperty
Specified by:
getDof in class BiRelationalProperty
Returns:
degrees of freedom of that Relation


getCovarianceOfJacobianRow

public Matrix getCovarianceOfJacobianRow(int row)

Returns the Covariance Matrix of the row-vector of the Jacobian Matrix A of the first Entity and the relation type.

Specified by:
getCovarianceOfJacobianRow in interface RelationalProperty
Specified by:
getCovarianceOfJacobianRow in class BiRelationalProperty
Parameters:
row - Row vector, for which the Covariance matrix is to be returned
Returns:
covariance of the row vector of the jacobian