us.ihmc.utilities.math.geometry
Class TestConvexPolygon2d

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by us.ihmc.utilities.math.geometry.TestConvexPolygon2d
All Implemented Interfaces:
junit.framework.Test

public class TestConvexPolygon2d
extends junit.framework.TestCase

Title:

Description:

Copyright: Copyright (c) 2007

Company:

Version:
1.0
Author:
not attributable

Constructor Summary
TestConvexPolygon2d(java.lang.String name)
           
 
Method Summary
 void testApplyTransform()
           
 void testCombineDisjointPolygons()
           
 void testCombineOne()
           
 void testCombineTwo()
           
 void testCreateConvexPlanarZUpPolygon()
           
 void testExtremePointsRandom()
           
 void testExtremePointsSquare()
           
 void testGetAroundCornerEdgesOne()
           
 void testGetLineOfSightVerticesOne()
           
 void testGetLineOfSightVerticesTwo()
           
 void testGetNearestVertex()
           
 void testGetOppositeMidEdgeWhenPublic()
           
 void testInsideOne()
           
 void testInsideThree()
           
 void testInsideTwo()
           
 void testIntersectionWithLinesOne()
           
 void testIsInside()
           
 void testLargeHullWithInside()
           
 void testLargeHullWithInsideTwo()
           
 void testLargeHullWithIntersections()
           
 void testOrthogonalProjectionFive()
           
 void testOrthogonalProjectionFour()
           
 void testOrthogonalProjectionOne()
           
 void testOrthogonalProjectionThree()
           
 void testOrthogonalProjectionTwo()
           
 void testPerimeterSquare()
           
 void testPolygonA()
           
 void testPolygonIntersections()
           
 void testPolygonIntersectionTimingOne()
           
 void testPolygonShrinkInto()
           
 void testPullTowardsCentroid()
           
 void testTiming()
           
 void testTimingTwo()
           
 void testTriangleConstructor()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestConvexPolygon2d

public TestConvexPolygon2d(java.lang.String name)
Method Detail

testIsInside

public void testIsInside()

testPolygonIntersectionTimingOne

public void testPolygonIntersectionTimingOne()

testPolygonA

public void testPolygonA()

testPolygonShrinkInto

public void testPolygonShrinkInto()

testPolygonIntersections

public void testPolygonIntersections()

testCombineDisjointPolygons

public void testCombineDisjointPolygons()

testPullTowardsCentroid

public void testPullTowardsCentroid()

testPerimeterSquare

public void testPerimeterSquare()

testExtremePointsRandom

public void testExtremePointsRandom()

testExtremePointsSquare

public void testExtremePointsSquare()

testOrthogonalProjectionFive

public void testOrthogonalProjectionFive()

testOrthogonalProjectionFour

public void testOrthogonalProjectionFour()

testTriangleConstructor

public void testTriangleConstructor()

testGetNearestVertex

public void testGetNearestVertex()

testOrthogonalProjectionTwo

public void testOrthogonalProjectionTwo()

testOrthogonalProjectionThree

public void testOrthogonalProjectionThree()

testApplyTransform

public void testApplyTransform()

testCombineTwo

public void testCombineTwo()

testOrthogonalProjectionOne

public void testOrthogonalProjectionOne()

testIntersectionWithLinesOne

public void testIntersectionWithLinesOne()

testLargeHullWithIntersections

public void testLargeHullWithIntersections()

testCreateConvexPlanarZUpPolygon

public void testCreateConvexPlanarZUpPolygon()
                                      throws java.lang.RuntimeException
Throws:
java.lang.RuntimeException

testInsideOne

public void testInsideOne()

testInsideTwo

public void testInsideTwo()

testInsideThree

public void testInsideThree()

testLargeHullWithInside

public void testLargeHullWithInside()

testLargeHullWithInsideTwo

public void testLargeHullWithInsideTwo()

testCombineOne

public void testCombineOne()

testGetLineOfSightVerticesOne

public void testGetLineOfSightVerticesOne()

testGetLineOfSightVerticesTwo

public void testGetLineOfSightVerticesTwo()

testGetAroundCornerEdgesOne

public void testGetAroundCornerEdgesOne()

testGetOppositeMidEdgeWhenPublic

public void testGetOppositeMidEdgeWhenPublic()

testTiming

public void testTiming()

testTimingTwo

public void testTimingTwo()