|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
sugr.test.Plane_3DTest
Tests for class Plane_3D. Most important are the constructors which construct a plane out of other entities. The rest is quite similar to tests for Point_3D. Uses: TestStatistics.class and TestTools.class.
Field Summary | |
static int |
MAXITER
int MAXITER determines how many iterations there are for calculation of the statstic parts. |
Constructor Summary | |
Plane_3DTest(java.lang.String arg0)
Constructor for Plane_3DTest. |
Method Summary | |
boolean |
helpPlane_3DLine_3DLine_3DStatistics(Line_3D line1,
Line_3D line2,
double sigma)
Method to test the statistic reasoning of a plane out of two uncertain lines. |
boolean |
helpPlane_3DLine_3DPoint_3DStatistics(Line_3D line,
Point_3D point,
double sigma)
Method to test the statistic reasoning of a plane out of an uncertain line and an uncertain point. |
boolean |
helpPlane_3DPoint_3DLine_3DStatistics(Point_3D point,
Line_3D line,
double sigma)
Method to test the statistic reasoning of a plane out of an uncertain line and an uncertain point. |
boolean |
helpPlane_3DPoint_3DPoint_3DPoint_3DStatistics(Point_3D point1,
Point_3D point2,
Point_3D point3,
double sigma)
Method to test the statistic reasoning of a plane out of three uncertain points. |
void |
testCopy()
Test for copy() Copys plane and then changes original, to secure that it is a real copy not only reference. |
void |
testGetDegreesOfFreedom()
Test for getDegreesOfFreedom. |
void |
testGetDimension()
Test for getDimension. |
void |
testGetDistance()
Test for getDistance Tests the Distance between a point and a plane one million times. |
void |
testGetDistanceToOrigin()
Test for getDistanceToOrigin Test the distance to origin for one million different planes. |
void |
testGetDofOfRelation()
Test for getDofOfRelation Only one plane, because value doesn't base on values of that plane |
void |
testGetEuclideanPart()
Test for getEuclideanPart |
void |
testGetHomogeneousPart()
Test for getHomogeneousPart() |
void |
testGetJacobianOfRelationClassClass()
Test for Matrix getJacobianOfRelation(Class, Class) First tests if the jacobians are right with some planes, lines and points using the constraint f(firstEntity)*secondEntity=g(secondEntity)*firstEntity=0 then tests all jacobian matrices value for value. |
void |
testNormalizeEuclidean()
Test of normalizeEuclidean First test the calculation of sure values over one million different points. |
void |
testPi()
Test for Matrix Pi() |
void |
testPiDual()
Test for Matrix PiDual() |
void |
testPiDualVector()
Test for Matrix PiDual(Vector) |
void |
testPiVector()
Test for Matrix Pi(Vector) |
void |
testPlane_3D()
Test for void Plane_3D() |
void |
testPlane_3Ddoubledoubledouble()
Test for void Plane_3D(double, double, double) |
void |
testPlane_3Ddoubledoubledoubledouble()
Test for void Plane_3D(double, double, double, double) |
void |
testPlane_3DdoubledoubledoubledoubleMatrix()
Test for void Plane_3D(double, double, double, double, Matrix) |
void |
testPlane_3DdoubledoubledoubleMatrix()
Test for void Plane_3D(double, double, double, Matrix) |
void |
testPlane_3DLine_3DPoint_3D()
Test for void Plane_3D(Line_3D, Point_3D) Tests the reasoning of a plane out of a point and a line with help of TestStatistics. |
void |
testPlane_3DPoint_3DLine_3D()
Test for void Plane_3D(Point_3D, Line_3D) Tests the reasoning of a plane out of a point and a line with help of TestStatistics. |
void |
testPlane_3DPoint_3DPoint_3DPoint_3D()
Test for void Plane_3D(Point_3D, Point_3D, Point_3D) Tests the geometric reasoning of a plane out of three points |
void |
testPlane_3DVectorMatrix()
Test for void Plane_3D(Vector, Matrix) |
Methods inherited from class junit.framework.TestCase |
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static int MAXITER
Constructor Detail |
public Plane_3DTest(java.lang.String arg0)
arg0
- Method Detail |
public boolean helpPlane_3DPoint_3DLine_3DStatistics(Point_3D point, Line_3D line, double sigma)
point
- - the pointline
- - the line to be connected to the point
public boolean helpPlane_3DLine_3DPoint_3DStatistics(Line_3D line, Point_3D point, double sigma)
line
- - the line to be connected to the pointpoint
- - the point
public boolean helpPlane_3DLine_3DLine_3DStatistics(Line_3D line1, Line_3D line2, double sigma)
line1
- - first line to be crossed with second lineline2
- - second line
public boolean helpPlane_3DPoint_3DPoint_3DPoint_3DStatistics(Point_3D point1, Point_3D point2, Point_3D point3, double sigma)
point1
- - the first pointpoint2
- - the second pointpoint3
- - the third point
public void testGetDegreesOfFreedom()
public void testGetDimension()
public void testGetEuclideanPart()
public void testGetHomogeneousPart()
public void testGetJacobianOfRelationClassClass()
public void testGetDofOfRelation()
public void testNormalizeEuclidean()
public void testGetDistance()
public void testPlane_3DVectorMatrix()
public void testPlane_3Ddoubledoubledoubledouble()
public void testPlane_3DdoubledoubledoubledoubleMatrix()
public void testPlane_3Ddoubledoubledouble()
public void testPlane_3DdoubledoubledoubleMatrix()
public void testPlane_3DPoint_3DLine_3D()
public void testPlane_3DLine_3DPoint_3D()
public void testPlane_3DPoint_3DPoint_3DPoint_3D()
public void testPlane_3D()
public void testCopy()
public void testPi()
public void testPiVector()
public void testPiDual()
public void testPiDualVector()
public void testGetDistanceToOrigin()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |