Inheritance
GeometryUtilsTests
public class GeometryUtilsTests
Methods
Declaration
Declaration
public void ClosestApproach_TestOne()
Declaration
public void ClosestApproach_TestTwo()
Declaration
public void ConvexHull2D_CollinearLeftmostPoints()
Declaration
public void ConvexHull2D_InsufficientPoints()
Declaration
public void ConvexHull2D_RevisitPoints()
Declaration
public void ConvexHull2D_SufficientPoints()
Declaration
public void ConvexPolygonArea(List<Vector3> vertices, float expectedArea)
Parameters
Type |
Name |
Description |
List<Vector3> |
vertices |
|
Single |
expectedArea |
|
Declaration
public void OrientedMinimumBoundingBox_WithConvexHull2D()
Declaration
public void OrientedMinimumBoundingBox_WithIrregularPolygon()
Declaration
public void OrientedMinimumBoundingBox_WithSimplePolygons(List<Vector3> vertices)
Parameters
Type |
Name |
Description |
List<Vector3> |
vertices |
|
Declaration
public void PointInPolygon_PointInside()
Declaration
public void PointInPolygon_PointInsideAlignedWithLastVertex()
Declaration
public void PointInPolygon_PointOnEdge()
Declaration
public void PointInPolygon_PointOnVertex()
Declaration
public void PointInPolygon_PointOutside()
Declaration
public void PointInPolygon_PointOutsideToLeftOfTopVertex()
Declaration
public void PointWithinHorizontalTriangle_PointInsideTriangle(float x, float y, float z)
Parameters
Declaration
public void PointWithinHorizontalTriangle_PointOutsideTriangle(float x, float y, float z)
Parameters
Declaration
public void PolygonCentroid2D_WithConvexHull()
Declaration
public void PolygonCentroid2D_WithSimpleRegularPolygons(List<Vector3> vertices)
Parameters
Type |
Name |
Description |
List<Vector3> |
vertices |
|
Declaration
public void PolygonInPolygon()
Declaration
public void PolygonOutsidePolygon()
Declaration
public void PolygonPartiallyInPolygon()
Declaration
public void PolygonsWithinRange_InfiniteRange()
Declaration
public void PolygonsWithinRange_JustInRange()
Declaration
public void PolygonsWithinRange_JustOutOfRange()
Declaration
public void PolygonsWithinRange_Overlapping()
Declaration
public void PolygonsWithinRange_PolygonInsideOther()
Declaration
public void WithinEdgeZone_PointBetweenInnerEdgeAndOuterEdge()
Declaration
public void WithinEdgeZone_PointInsideInnerEdge()
Declaration
public void WithinEdgeZone_PointOutsideEdges()