us.ihmc.utilities.math.geometry
Class ConvexPolygon2dTest

java.lang.Object
  extended by us.ihmc.utilities.math.geometry.ConvexPolygon2dTest

public class ConvexPolygon2dTest
extends java.lang.Object


Constructor Summary
ConvexPolygon2dTest()
           
 
Method Summary
 void testAllMethodsForPolygonWithOnePoint()
           
 void testAllMethodsForPolygonWithTwoPoints()
           
 void testApplyTransformWithRotation()
           
 void testApplyTransformWithTranslations()
           
 void testArea()
           
 void testCombineDisjointPolygons()
           
 void testCombineOne()
           
 void testExtremePointsRandom()
           
 void testExtremePointsSquare()
           
 void testGetAroundCornerEdgesOne()
           
 void testGetClosestEdge()
           
 void testGetLineOfSightVerticesOne()
           
 void testGetLineOfSightVerticesTwo()
           
 void testGetNearestVertex()
           
 void testGetOppositeMidEdgeWhenPublic()
           
 void testGetOutSideFacingOrthoNormalVectors()
           
 void testInsideWithSimpleSquare()
           
 void testIntersectionWithLinesOne()
           
 void testIsInside()
           
 void testLargeHullWithIntersections()
           
 void testNANRay()
           
 void testOrthogonalProjectionOne()
           
 void testOrthogonalProjectionPointConvexPolygon2d()
           
 void testOrthogonalProjectionThree()
           
 void testPerimeterSquare()
           
 void testPolygonIntersections()
           
 void testPolygonShrinkInto()
           
 void testPullTowardsCentroid()
           
 void testTiming()
           
 void testTimingTwo()
           
 void testTriangleConstructor()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvexPolygon2dTest

public ConvexPolygon2dTest()
Method Detail

testTriangleConstructor

public void testTriangleConstructor()

testNANRay

public void testNANRay()

testIsInside

public void testIsInside()

testPerimeterSquare

public void testPerimeterSquare()

testExtremePointsSquare

public void testExtremePointsSquare()

testInsideWithSimpleSquare

public void testInsideWithSimpleSquare()

testTiming

public void testTiming()

testTimingTwo

public void testTimingTwo()

testExtremePointsRandom

public void testExtremePointsRandom()

testOrthogonalProjectionOne

public void testOrthogonalProjectionOne()

testOrthogonalProjectionThree

public void testOrthogonalProjectionThree()

testGetAroundCornerEdgesOne

public void testGetAroundCornerEdgesOne()

testGetLineOfSightVerticesOne

public void testGetLineOfSightVerticesOne()

testGetLineOfSightVerticesTwo

public void testGetLineOfSightVerticesTwo()

testPolygonShrinkInto

public void testPolygonShrinkInto()

testPolygonIntersections

public void testPolygonIntersections()

testPullTowardsCentroid

public void testPullTowardsCentroid()

testGetNearestVertex

public void testGetNearestVertex()

testIntersectionWithLinesOne

public void testIntersectionWithLinesOne()

testGetOppositeMidEdgeWhenPublic

public void testGetOppositeMidEdgeWhenPublic()

testCombineOne

public void testCombineOne()

testGetOutSideFacingOrthoNormalVectors

public void testGetOutSideFacingOrthoNormalVectors()

testApplyTransformWithTranslations

public void testApplyTransformWithTranslations()

testApplyTransformWithRotation

public void testApplyTransformWithRotation()

testCombineDisjointPolygons

public void testCombineDisjointPolygons()

testGetClosestEdge

public void testGetClosestEdge()

testArea

public void testArea()

testLargeHullWithIntersections

public void testLargeHullWithIntersections()

testOrthogonalProjectionPointConvexPolygon2d

public void testOrthogonalProjectionPointConvexPolygon2d()

testAllMethodsForPolygonWithOnePoint

public void testAllMethodsForPolygonWithOnePoint()

testAllMethodsForPolygonWithTwoPoints

public void testAllMethodsForPolygonWithTwoPoints()