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

Go to the source code of this file.

Functions

static bool cdt_has_edge (const ConstrainedDelaunayTriangulation::Result &r, const size_t u, const size_t v)
 
static size_t find_site (const Array< Point > &sites, const Point &p)
 
static bool has_constrained_edge (const ConstrainedDelaunayTriangulation::Result &r, const Point &p, const Point &q)
 
static bool check_delaunay_for_non_constrained (const ConstrainedDelaunayTriangulation::Result &r)
 
 TEST_F (GeomAlgorithmsTest, CDT_TriangleNoConstraints)
 
 TEST_F (GeomAlgorithmsTest, CDT_SquareWithForcedDiagonal)
 
 TEST_F (GeomAlgorithmsTest, CDT_ConstraintAlreadyInDT)
 
 TEST_F (GeomAlgorithmsTest, CDT_ConstraintCrossingDTEdge)
 
 TEST_F (GeomAlgorithmsTest, CDT_MultipleConstraints)
 
 TEST_F (GeomAlgorithmsTest, CDT_PLSGChain)
 
 TEST_F (GeomAlgorithmsTest, CDT_EmptyInput)
 
 TEST_F (GeomAlgorithmsTest, CDT_LessThan3Points)
 
 TEST_F (GeomAlgorithmsTest, CDT_CollinearPoints)
 
 TEST_F (GeomAlgorithmsTest, CDT_OnlyConstraintEndpoints)
 
 TEST_F (GeomAlgorithmsTest, CDT_PointOnConstraintInterior)
 
 TEST_F (GeomAlgorithmsTest, CDT_DuplicatePoints)
 
 TEST_F (GeomAlgorithmsTest, CDT_DuplicateConstraints)
 
 TEST_F (GeomAlgorithmsTest, CDT_AllConstraintsPresent)
 
 TEST_F (GeomAlgorithmsTest, CDT_DelaunayPropertyForNonConstrained)
 
 TEST_F (GeomAlgorithmsTest, CDT_AllPointsPresent)
 
 TEST_F (GeomAlgorithmsTest, CDT_CCWWinding)
 
 TEST_F (GeomAlgorithmsTest, CDT_GridWithDiagonalConstraints)
 
 TEST_F (GeomAlgorithmsTest, CDT_PolygonBoundaryAsConstraints)
 
 TEST_F (GeomAlgorithmsTest, CDT_AsTrianglesConversion)
 
 TEST_F (GeomAlgorithmsTest, CDT_InitializerListOverload)
 
 TEST_F (GeomAlgorithmsTest, CDT_DelaunayCheckOnLargerSet)
 

Function Documentation

◆ cdt_has_edge()

static bool cdt_has_edge ( const ConstrainedDelaunayTriangulation::Result r,
const size_t  u,
const size_t  v 
)
static

Definition at line 7 of file geom_algorithms_test_cdt.cc.

References Aleph::and, Aleph::divide_and_conquer_partition_dp(), and r.

Referenced by TEST_F(), TEST_F(), TEST_F(), and TEST_F().

◆ check_delaunay_for_non_constrained()

static bool check_delaunay_for_non_constrained ( const ConstrainedDelaunayTriangulation::Result r)
static

◆ find_site()

static size_t find_site ( const Array< Point > &  sites,
const Point p 
)
static

◆ has_constrained_edge()

static bool has_constrained_edge ( const ConstrainedDelaunayTriangulation::Result r,
const Point p,
const Point q 
)
static

◆ TEST_F() [1/22]

◆ TEST_F() [2/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_AllPointsPresent   
)

◆ TEST_F() [3/22]

◆ TEST_F() [4/22]

◆ TEST_F() [5/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_CollinearPoints   
)

◆ TEST_F() [6/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_ConstraintAlreadyInDT   
)

◆ TEST_F() [7/22]

◆ TEST_F() [8/22]

◆ TEST_F() [9/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_DelaunayPropertyForNonConstrained   
)

◆ TEST_F() [10/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_DuplicateConstraints   
)

◆ TEST_F() [11/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_DuplicatePoints   
)

◆ TEST_F() [12/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_EmptyInput   
)

◆ TEST_F() [13/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_GridWithDiagonalConstraints   
)

◆ TEST_F() [14/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_InitializerListOverload   
)

◆ TEST_F() [15/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_LessThan3Points   
)

◆ TEST_F() [16/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_MultipleConstraints   
)

◆ TEST_F() [17/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_OnlyConstraintEndpoints   
)

◆ TEST_F() [18/22]

◆ TEST_F() [19/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_PointOnConstraintInterior   
)

◆ TEST_F() [20/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_PolygonBoundaryAsConstraints   
)

◆ TEST_F() [21/22]

◆ TEST_F() [22/22]

TEST_F ( GeomAlgorithmsTest  ,
CDT_TriangleNoConstraints   
)