|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.geometry.linearization.CurveLinearizerTest
public class CurveLinearizerTest
Tests for CurveLinearizer
.
Constructor Summary | |
---|---|
CurveLinearizerTest()
|
Method Summary | |
---|---|
void |
linearizeArcCircle()
|
void |
setUp()
|
void |
testFindCircleCenter()
Tests if CurveLinearizer.calcCircleCenter(Point, Point, Point) finds the correct midpoint. |
void |
testIsClockwise()
Tests if CurveLinearizer.isClockwise(Point, Point, Point) determines the correct point order. |
void |
testLinearizeArc()
Test the delta (distance between two adjacent points) the number of linearization points and the end and begin points |
void |
testLinearizeArcFourQDs14()
Test an arc over quadrants 1 and 4 over 3 and 2
|
4 | 1
_______|_______
|
3 | 2
|
|
void |
testLinearizeCircle()
Tests if interpolate(Point, Point, Point, int, boolean) produces sequences of positions that coincide with the circle arc. |
void |
testLinearizeCollinearArc()
Tests the linearization of an arc with collinear control points (on a line). |
void |
testLinearizeCollinearCircle()
Tests the linearization of a circle with collinear control points (on a line). |
void |
testLinearizeCubicSpline()
Tests if CurveLinearizer.linearizeCubicSpline(CubicSpline, LinearizationCriterion) produces positions
that coincide with the real values. |
void |
testVisualLinArcQDs12()
Test an arc over quadrants 1 and 2
|
4 | 1
_______|_______
|
3 | 2
|
|
void |
testVisualLinArcQDs14()
Test an arc over quadrants 1 and 4
|
4 | 1
_______|_______
|
3 | 2
|
|
void |
testVisualLinArcQDs23()
Test an arc over quadrants 2 and 4
|
4 | 1
_______|_______
|
3 | 2
|
|
void |
testVisualLinArcQDs34()
Test an arc over quadrants 3 and 4
|
4 | 1
_______|_______
|
3 | 2
|
|
void |
visualizeCircle()
Linearize a circle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurveLinearizerTest()
Method Detail |
---|
public void setUp()
public void linearizeArcCircle()
public void testIsClockwise()
CurveLinearizer.isClockwise(Point, Point, Point)
determines the correct point order.
public void testFindCircleCenter()
CurveLinearizer.calcCircleCenter(Point, Point, Point)
finds the correct midpoint.
public void testLinearizeCircle()
public void testLinearizeCubicSpline()
CurveLinearizer.linearizeCubicSpline(CubicSpline, LinearizationCriterion)
produces positions
that coincide with the real values.
public void testLinearizeArc()
public void testLinearizeCollinearArc()
public void testLinearizeCollinearCircle()
public void testVisualLinArcQDs34()
|
4 | 1
_______|_______
|
3 | 2
|
public void testVisualLinArcQDs12()
|
4 | 1
_______|_______
|
3 | 2
|
public void testVisualLinArcQDs14()
|
4 | 1
_______|_______
|
3 | 2
|
public void testVisualLinArcQDs23()
|
4 | 1
_______|_______
|
3 | 2
|
public void testLinearizeArcFourQDs14()
|
4 | 1
_______|_______
|
3 | 2
|
public void visualizeCircle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |