Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
geom_algorithms_test_triangulation_hulls_delaunay.cc File Reference
#include "geom_algorithms_test_common.h"
#include <random>
#include <cmath>
Include dependency graph for geom_algorithms_test_triangulation_hulls_delaunay.cc:

Go to the source code of this file.

Functions

 TEST_F (GeomAlgorithmsTest, TriangulateTriangle)
 
 TEST_F (GeomAlgorithmsTest, TriangulateSquare)
 
 TEST_F (GeomAlgorithmsTest, TriangulateSquareClockwise)
 
 TEST_F (GeomAlgorithmsTest, TriangulatePentagon)
 
 TEST_F (GeomAlgorithmsTest, TriangulateOpenPolygonThrows)
 
 TEST_F (GeomAlgorithmsTest, TriangulateDegenerateCollinearPolygonThrows)
 
 TEST_F (GeomAlgorithmsTest, TriangulateSelfIntersectingPolygonRejectedByPolygonValidation)
 
 TEST_F (GeomAlgorithmsTest, QuickHullTriangle)
 
 TEST_F (GeomAlgorithmsTest, QuickHullSquare)
 
 TEST_F (GeomAlgorithmsTest, QuickHullWithInterior)
 
 TEST_F (GeomAlgorithmsTest, GiftWrappingSquare)
 
 TEST_F (GeomAlgorithmsTest, BruteForceHullTriangle)
 
 TEST_F (GeomAlgorithmsTest, ThreePointsHull)
 
 TEST_F (GeomAlgorithmsTest, LegacyHullsEmptyInput)
 
 TEST_F (GeomAlgorithmsTest, LegacyHullsSinglePointInput)
 
 TEST_F (GeomAlgorithmsTest, LegacyHullsAllDuplicatePoints)
 
 TEST_F (GeomAlgorithmsTest, AndrewMonotonicChainSquareWithInteriorAndDuplicates)
 
 TEST_F (GeomAlgorithmsTest, AndrewMonotonicChainCollinearKeepsEndpoints)
 
 TEST_F (GeomAlgorithmsTest, GrahamScanSquareWithInteriorAndDuplicates)
 
 TEST_F (GeomAlgorithmsTest, GrahamScanCollinearKeepsEndpoints)
 
 TEST_F (GeomAlgorithmsTest, ClosestPairTwoPoints)
 
 TEST_F (GeomAlgorithmsTest, ClosestPairUniqueMinimum)
 
 TEST_F (GeomAlgorithmsTest, ClosestPairDuplicatePointsDistanceZero)
 
 TEST_F (GeomAlgorithmsTest, ClosestPairCollinear)
 
 TEST_F (GeomAlgorithmsTest, ClosestPairRequiresAtLeastTwoPoints)
 
 TEST_F (GeomAlgorithmsTest, RotatingCalipersSquare)
 
 TEST_F (GeomAlgorithmsTest, RotatingCalipersSquareMinimumWidth)
 
 TEST_F (GeomAlgorithmsTest, RotatingCalipersRectangle)
 
 TEST_F (GeomAlgorithmsTest, RotatingCalipersTwoPointDegenerate)
 
 TEST_F (GeomAlgorithmsTest, RotatingCalipersNonConvexThrows)
 
 TEST_F (GeomAlgorithmsTest, RotatingCalipersOpenPolygonThrows)
 
 TEST_F (GeomAlgorithmsTest, PointInPolygonConvexClassification)
 
 TEST_F (GeomAlgorithmsTest, PointInPolygonConcaveClassification)
 
 TEST_F (GeomAlgorithmsTest, PointInPolygonRequiresClosedPolygon)
 
 TEST_F (GeomAlgorithmsTest, ConvexPolygonIntersectionOverlapArea)
 
 TEST_F (GeomAlgorithmsTest, ConvexPolygonIntersectionContained)
 
 TEST_F (GeomAlgorithmsTest, ConvexPolygonIntersectionDisjoint)
 
 TEST_F (GeomAlgorithmsTest, ConvexPolygonIntersectionTouchingEdge)
 
 TEST_F (GeomAlgorithmsTest, ConvexPolygonIntersectionRequiresConvex)
 
 TEST_F (GeomAlgorithmsTest, ConvexPolygonIntersectionRequiresClosed)
 
 TEST_F (GeomAlgorithmsTest, HalfPlaneIntersectionFromSingleSquare)
 
 TEST_F (GeomAlgorithmsTest, HalfPlaneIntersectionFromSingleSquareClockwise)
 
 TEST_F (GeomAlgorithmsTest, HalfPlaneIntersectionTwoSquaresOverlap)
 
 TEST_F (GeomAlgorithmsTest, HalfPlaneIntersectionInconsistent)
 
 TEST_F (GeomAlgorithmsTest, HalfPlaneIntersectionUnboundedReturnsEmpty)
 
 TEST_F (GeomAlgorithmsTest, DelaunayTriangle)
 
 TEST_F (GeomAlgorithmsTest, DelaunaySquareProducesTwoTriangles)
 
 TEST_F (GeomAlgorithmsTest, DelaunayRemovesDuplicates)
 
 TEST_F (GeomAlgorithmsTest, DelaunayCollinearReturnsEmpty)
 
 TEST_F (GeomAlgorithmsTest, DelaunayCocircularDeterministicAcrossInputOrder)
 
 TEST_F (GeomAlgorithmsTest, VoronoiFromTriangle)
 
 TEST_F (GeomAlgorithmsTest, VoronoiFromQuadrilateralHasOneBoundedEdge)
 
 TEST_F (GeomAlgorithmsTest, VoronoiBoundedEdgesMatchAdjacentTriangleCircumcenters)
 
 TEST_F (GeomAlgorithmsTest, VoronoiClippedCellsBoundedAndContainSites)
 
 TEST_F (GeomAlgorithmsTest, VoronoiClippedCellsBoundedAndContainSitesClockwiseClip)
 
 TEST_F (GeomAlgorithmsTest, VoronoiClippedCellsRequiresConvexClip)
 
 TEST_F (GeomAlgorithmsTest, VoronoiClippedCellsIndexedExposeSiteAndIndex)
 
 TEST_F (GeomAlgorithmsTest, TriangulateHexagon)
 
 TEST_F (GeomAlgorithmsTest, DelaunayStressToggleEdgePerformance)
 
 TEST_F (GeomAlgorithmsTest, DelaunayStressGridInput)
 
 TEST_F (GeomAlgorithmsTest, VoronoiIncidenceIndexMatchesCircumcenters)
 
 TEST_F (GeomAlgorithmsTest, VoronoiIncidenceIndexStress)
 
 TEST_F (GeomAlgorithmsTest, TriangulatePentagonClockwise)
 
 TEST_F (GeomAlgorithmsTest, TriangulateHexagonClockwise)
 
 TEST_F (GeomAlgorithmsTest, TriangulateTriangleClockwise)
 
 TEST_F (GeomAlgorithmsTest, TriangulateLShapeClockwise)
 
 TEST_F (GeomAlgorithmsTest, HalfPlaneFromConvexTriangleCW)
 
 TEST_F (GeomAlgorithmsTest, HalfPlaneFromConvexPentagonCW)
 
 TEST_F (GeomAlgorithmsTest, HalfPlaneFromConvexPolygonDegenerateThrows)
 
 TEST_F (GeomAlgorithmsTest, DelaunayEmptyInput)
 
 TEST_F (GeomAlgorithmsTest, DelaunaySinglePoint)
 
 TEST_F (GeomAlgorithmsTest, DelaunayTwoPoints)
 
 TEST_F (GeomAlgorithmsTest, DelaunayAllDuplicates)
 
 TEST_F (GeomAlgorithmsTest, DelaunayTwoDistinctWithDuplicates)
 
 TEST_F (GeomAlgorithmsTest, VoronoiEmptyInput)
 
 TEST_F (GeomAlgorithmsTest, VoronoiSinglePoint)
 
 TEST_F (GeomAlgorithmsTest, VoronoiTwoPoints)
 
 TEST_F (GeomAlgorithmsTest, VoronoiCollinearPoints)
 
 TEST_F (GeomAlgorithmsTest, CuttingEarsCollinearEdges)
 
 TEST_F (GeomAlgorithmsTest, CuttingEarsManyVertices)
 
 TEST_F (GeomAlgorithmsTest, CuttingEarsConsecutiveReflexVertices)
 
 TEST_F (GeomAlgorithmsTest, ConvexHullPointsOnCircle)
 
 TEST_F (GeomAlgorithmsTest, ConvexHullClusteredDistribution)
 
 TEST_F (GeomAlgorithmsTest, ConvexHullStress100K)
 
 TEST_F (GeomAlgorithmsTest, DelaunayCocircularPoints)
 
 TEST_F (GeomAlgorithmsTest, DelaunayNearDegenerateTriangles)
 
 TEST_F (GeomAlgorithmsTest, DelaunayLargeDataset)
 

Function Documentation

◆ TEST_F() [1/87]

◆ TEST_F() [2/87]

TEST_F ( GeomAlgorithmsTest  ,
AndrewMonotonicChainSquareWithInteriorAndDuplicates   
)

◆ TEST_F() [3/87]

◆ TEST_F() [4/87]

◆ TEST_F() [5/87]

◆ TEST_F() [6/87]

TEST_F ( GeomAlgorithmsTest  ,
ClosestPairRequiresAtLeastTwoPoints   
)

◆ TEST_F() [7/87]

◆ TEST_F() [8/87]

TEST_F ( GeomAlgorithmsTest  ,
ClosestPairUniqueMinimum   
)

◆ TEST_F() [9/87]

TEST_F ( GeomAlgorithmsTest  ,
ConvexHullClusteredDistribution   
)

◆ TEST_F() [10/87]

TEST_F ( GeomAlgorithmsTest  ,
ConvexHullPointsOnCircle   
)

◆ TEST_F() [11/87]

TEST_F ( GeomAlgorithmsTest  ,
ConvexHullStress100K   
)

◆ TEST_F() [12/87]

TEST_F ( GeomAlgorithmsTest  ,
ConvexPolygonIntersectionContained   
)

◆ TEST_F() [13/87]

◆ TEST_F() [14/87]

TEST_F ( GeomAlgorithmsTest  ,
ConvexPolygonIntersectionOverlapArea   
)

◆ TEST_F() [15/87]

TEST_F ( GeomAlgorithmsTest  ,
ConvexPolygonIntersectionRequiresClosed   
)

◆ TEST_F() [16/87]

TEST_F ( GeomAlgorithmsTest  ,
ConvexPolygonIntersectionRequiresConvex   
)

◆ TEST_F() [17/87]

◆ TEST_F() [18/87]

◆ TEST_F() [19/87]

◆ TEST_F() [20/87]

◆ TEST_F() [21/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunayAllDuplicates   
)

◆ TEST_F() [22/87]

◆ TEST_F() [23/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunayCocircularPoints   
)

◆ TEST_F() [24/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunayCollinearReturnsEmpty   
)

◆ TEST_F() [25/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunayEmptyInput   
)

◆ TEST_F() [26/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunayLargeDataset   
)

◆ TEST_F() [27/87]

◆ TEST_F() [28/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunayRemovesDuplicates   
)

◆ TEST_F() [29/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunaySinglePoint   
)

◆ TEST_F() [30/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunaySquareProducesTwoTriangles   
)

◆ TEST_F() [31/87]

◆ TEST_F() [32/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunayStressToggleEdgePerformance   
)

◆ TEST_F() [33/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunayTriangle   
)

◆ TEST_F() [34/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunayTwoDistinctWithDuplicates   
)

◆ TEST_F() [35/87]

TEST_F ( GeomAlgorithmsTest  ,
DelaunayTwoPoints   
)

◆ TEST_F() [36/87]

◆ TEST_F() [37/87]

◆ TEST_F() [38/87]

TEST_F ( GeomAlgorithmsTest  ,
GrahamScanSquareWithInteriorAndDuplicates   
)

◆ TEST_F() [39/87]

◆ TEST_F() [40/87]

◆ TEST_F() [41/87]

◆ TEST_F() [42/87]

◆ TEST_F() [43/87]

◆ TEST_F() [44/87]

◆ TEST_F() [45/87]

◆ TEST_F() [46/87]

TEST_F ( GeomAlgorithmsTest  ,
HalfPlaneIntersectionUnboundedReturnsEmpty   
)

◆ TEST_F() [47/87]

◆ TEST_F() [48/87]

TEST_F ( GeomAlgorithmsTest  ,
LegacyHullsEmptyInput   
)

◆ TEST_F() [49/87]

TEST_F ( GeomAlgorithmsTest  ,
LegacyHullsSinglePointInput   
)

◆ TEST_F() [50/87]

TEST_F ( GeomAlgorithmsTest  ,
PointInPolygonConcaveClassification   
)

◆ TEST_F() [51/87]

◆ TEST_F() [52/87]

TEST_F ( GeomAlgorithmsTest  ,
PointInPolygonRequiresClosedPolygon   
)

◆ TEST_F() [53/87]

◆ TEST_F() [54/87]

◆ TEST_F() [55/87]

◆ TEST_F() [56/87]

TEST_F ( GeomAlgorithmsTest  ,
RotatingCalipersNonConvexThrows   
)

◆ TEST_F() [57/87]

TEST_F ( GeomAlgorithmsTest  ,
RotatingCalipersOpenPolygonThrows   
)

◆ TEST_F() [58/87]

◆ TEST_F() [59/87]

◆ TEST_F() [60/87]

◆ TEST_F() [61/87]

◆ TEST_F() [62/87]

◆ TEST_F() [63/87]

TEST_F ( GeomAlgorithmsTest  ,
TriangulateDegenerateCollinearPolygonThrows   
)

◆ TEST_F() [64/87]

◆ TEST_F() [65/87]

◆ TEST_F() [66/87]

◆ TEST_F() [67/87]

TEST_F ( GeomAlgorithmsTest  ,
TriangulateOpenPolygonThrows   
)

◆ TEST_F() [68/87]

◆ TEST_F() [69/87]

◆ TEST_F() [70/87]

TEST_F ( GeomAlgorithmsTest  ,
TriangulateSelfIntersectingPolygonRejectedByPolygonValidation   
)

◆ TEST_F() [71/87]

◆ TEST_F() [72/87]

◆ TEST_F() [73/87]

◆ TEST_F() [74/87]

◆ TEST_F() [75/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiBoundedEdgesMatchAdjacentTriangleCircumcenters   
)

◆ TEST_F() [76/87]

◆ TEST_F() [77/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiClippedCellsBoundedAndContainSitesClockwiseClip   
)

◆ TEST_F() [78/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiClippedCellsIndexedExposeSiteAndIndex   
)

◆ TEST_F() [79/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiClippedCellsRequiresConvexClip   
)

◆ TEST_F() [80/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiCollinearPoints   
)

◆ TEST_F() [81/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiEmptyInput   
)

◆ TEST_F() [82/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiFromQuadrilateralHasOneBoundedEdge   
)

◆ TEST_F() [83/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiFromTriangle   
)

◆ TEST_F() [84/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiIncidenceIndexMatchesCircumcenters   
)

◆ TEST_F() [85/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiIncidenceIndexStress   
)

◆ TEST_F() [86/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiSinglePoint   
)

◆ TEST_F() [87/87]

TEST_F ( GeomAlgorithmsTest  ,
VoronoiTwoPoints   
)