|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include "geom_algorithms_test_common.h"Go to the source code of this file.
Typedefs | |
| using | TM = TrapezoidalMapPointLocation |
| using | LT = TM::LocationType |
Functions | |
| static size_t | count_active_trapezoids (const TM::Result &res) |
| static Polygon | make_square_poly (Geom_Number cx, Geom_Number cy, Geom_Number half) |
| static Polygon | make_triangle_poly () |
| static Polygon | make_hexagon () |
| TEST (TrapezoidalMap, SingleSegment) | |
| TEST (TrapezoidalMap, TwoParallelSegments) | |
| TEST (TrapezoidalMap, TwoSegmentsSharedEndpoint) | |
| TEST (TrapezoidalMap, SquarePolygon) | |
| TEST (TrapezoidalMap, TrianglePolygon) | |
| TEST (TrapezoidalMap, VerticalSegment) | |
| TEST (TrapezoidalMap, SharedEndpoints) | |
| TEST (TrapezoidalMap, PointOnSegment) | |
| TEST (TrapezoidalMap, PointAtEndpoint) | |
| TEST (TrapezoidalMap, HorizontalSegment) | |
| TEST (TrapezoidalMap, ConvexPolygonQueries) | |
| TEST (TrapezoidalMap, MultiplePolygons) | |
| TEST (TrapezoidalMap, ManySegments) | |
| TEST (TrapezoidalMap, Deterministic) | |
| TEST (TrapezoidalMap, EmptyInput) | |
| TEST (TrapezoidalMap, DegenerateSegment) | |
| using LT = TM::LocationType |
Definition at line 36 of file geom_algorithms_test_trapezoidal_map.cc.
| using TM = TrapezoidalMapPointLocation |
Definition at line 35 of file geom_algorithms_test_trapezoidal_map.cc.
|
static |
Definition at line 40 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::count(), and Aleph::divide_and_conquer_partition_dp().
|
static |
Definition at line 70 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Polygon::add_vertex(), and Aleph::Polygon::close().
Referenced by TEST().
|
static |
Definition at line 48 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Polygon::add_vertex(), Aleph::Polygon::close(), and Aleph::divide_and_conquer_partition_dp().
|
static |
Definition at line 60 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Polygon::add_vertex(), and Aleph::Polygon::close().
Referenced by TEST().
| TEST | ( | TrapezoidalMap | , |
| ConvexPolygonQueries | |||
| ) |
Definition at line 306 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::PointInPolygonWinding::locate(), make_hexagon(), and y.
| TEST | ( | TrapezoidalMap | , |
| DegenerateSegment | |||
| ) |
Definition at line 436 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Array< T >::append(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| Deterministic | |||
| ) |
Definition at line 398 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::divide_and_conquer_partition_dp(), make_square_poly(), and y.
| TEST | ( | TrapezoidalMap | , |
| EmptyInput | |||
| ) |
Definition at line 421 of file geom_algorithms_test_trapezoidal_map.cc.
References count_active_trapezoids(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| HorizontalSegment | |||
| ) |
Definition at line 281 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Array< T >::append(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| ManySegments | |||
| ) |
Definition at line 361 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Array< T >::append(), count_active_trapezoids(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| MultiplePolygons | |||
| ) |
Definition at line 329 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Polygon::add_vertex(), Aleph::Array< T >::append(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| PointAtEndpoint | |||
| ) |
Definition at line 266 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Array< T >::append(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| PointOnSegment | |||
| ) |
Definition at line 253 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Array< T >::append(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| SharedEndpoints | |||
| ) |
Definition at line 225 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Array< T >::append(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| SingleSegment | |||
| ) |
Definition at line 88 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Array< T >::append(), count_active_trapezoids(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| SquarePolygon | |||
| ) |
Definition at line 158 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::divide_and_conquer_partition_dp(), and make_square_poly().
| TEST | ( | TrapezoidalMap | , |
| TrianglePolygon | |||
| ) |
Definition at line 179 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::divide_and_conquer_partition_dp(), and make_triangle_poly().
| TEST | ( | TrapezoidalMap | , |
| TwoParallelSegments | |||
| ) |
Definition at line 117 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Array< T >::append(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| TwoSegmentsSharedEndpoint | |||
| ) |
Definition at line 139 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Array< T >::append(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | TrapezoidalMap | , |
| VerticalSegment | |||
| ) |
Definition at line 208 of file geom_algorithms_test_trapezoidal_map.cc.
References Aleph::Array< T >::append(), and Aleph::divide_and_conquer_partition_dp().