#include <gtest/gtest.h>#include <boost/geometry/algorithms/equals.hpp>#include <vector>#include "lanelet2_core/geometry/LineString.h"#include "lanelet2_core/primitives/LineString.h"#include "primitives/Traits.h"
Go to the source code of this file.
Macros | |
| #define | TYPED_TEST_SUITE TYPED_TEST_CASE |
| #define TYPED_TEST_SUITE TYPED_TEST_CASE |
Definition at line 206 of file test_linestring.cpp.
Definition at line 188 of file test_linestring.cpp.
| using BasicLineStrings = testing::Types<BasicLineString2d, BasicLineString3d> |
Definition at line 202 of file test_linestring.cpp.
| using HybridLineStrings = testing::Types<ConstHybridLineString2d, ConstHybridLineString3d, CompoundHybridLineString2d, CompoundHybridLineString3d> |
Definition at line 200 of file test_linestring.cpp.
| using MutableLineStrings = testing::Types<LineString2d, LineString3d> |
Definition at line 194 of file test_linestring.cpp.
| using NonHybridLineStrings = testing::Types<LineString2d, LineString3d, ConstLineString2d, ConstLineString3d, CompoundLineString2d, CompoundLineString3d> |
Definition at line 198 of file test_linestring.cpp.
| using NormalLineStrings = testing::Types<LineString2d, LineString3d, ConstLineString2d, ConstLineString3d> |
Definition at line 189 of file test_linestring.cpp.
| using PrimitiveLineStrings = testing::Types<LineString2d, LineString3d, ConstLineString2d, ConstLineString3d, ConstHybridLineString2d, ConstHybridLineString3d> |
Definition at line 196 of file test_linestring.cpp.
| using ThreeDLineStrings = testing::Types<LineString3d, ConstLineString3d, ConstHybridLineString3d, CompoundLineString3d, CompoundHybridLineString3d, BasicLineString3d> |
Definition at line 191 of file test_linestring.cpp.
| using TwoDLineStrings = testing::Types<LineString2d, ConstLineString2d, ConstHybridLineString2d, CompoundLineString2d, CompoundHybridLineString2d, BasicLineString2d> |
Definition at line 193 of file test_linestring.cpp.
| using TwoDPoints = testing::Types<BasicPoint2d, Point2d, ConstPoint2d> |
Definition at line 185 of file test_linestring.cpp.
| auto getZ | ( | const T & | p | ) | -> std::enable_if_t<!traits::is2D<T>(), double> |
Definition at line 131 of file test_linestring.cpp.
| TEST | ( | TwoDLineStringsTest | , |
| checkInversion | |||
| ) |
Definition at line 715 of file test_linestring.cpp.
| TEST | ( | TwoDLineStringsTest | , |
| extractConvex | |||
| ) |
Definition at line 676 of file test_linestring.cpp.
| TEST | ( | TwoDLineStringsTest | , |
| removeSelfIntersections | |||
| ) |
Definition at line 661 of file test_linestring.cpp.
| TYPED_TEST | ( | AllLineStringsTest | , |
| accumulatedLengthRatios | |||
| ) |
Definition at line 367 of file test_linestring.cpp.
| TYPED_TEST | ( | AllLineStringsTest | , |
| interpolatedPoint | |||
| ) |
Definition at line 373 of file test_linestring.cpp.
| TYPED_TEST | ( | AllLineStringsTest | , |
| invert | |||
| ) |
Definition at line 244 of file test_linestring.cpp.
| TYPED_TEST | ( | AllLineStringsTest | , |
| iteration | |||
| ) |
Definition at line 236 of file test_linestring.cpp.
| TYPED_TEST | ( | AllLineStringsTest | , |
| length | |||
| ) |
Definition at line 326 of file test_linestring.cpp.
| TYPED_TEST | ( | AllLineStringsTest | , |
| lengthRatios | |||
| ) |
Definition at line 357 of file test_linestring.cpp.
| TYPED_TEST | ( | AllLineStringsTest | , |
| nearestPoint | |||
| ) |
Definition at line 389 of file test_linestring.cpp.
| TYPED_TEST | ( | AllLineStringsTest | , |
| segments | |||
| ) |
Definition at line 399 of file test_linestring.cpp.
| TYPED_TEST | ( | AllLineStringsTest | , |
| segmentsInverse | |||
| ) |
Definition at line 406 of file test_linestring.cpp.
| TYPED_TEST | ( | HybridLineStringsTest | , |
| segmentLength | |||
| ) |
Definition at line 570 of file test_linestring.cpp.
| TYPED_TEST | ( | MutableLineStringsTest | , |
| boostAppend | |||
| ) |
Definition at line 350 of file test_linestring.cpp.
| TYPED_TEST | ( | MutableLineStringsTest | , |
| boostConvert | |||
| ) |
Definition at line 337 of file test_linestring.cpp.
| TYPED_TEST | ( | MutableLineStringsTest | , |
| closestSegment | |||
| ) |
Definition at line 634 of file test_linestring.cpp.
| TYPED_TEST | ( | MutableLineStringsTest | , |
| id | |||
| ) |
Definition at line 219 of file test_linestring.cpp.
| TYPED_TEST | ( | MutableLineStringsTest | , |
| invertAndErase | |||
| ) |
Definition at line 272 of file test_linestring.cpp.
| TYPED_TEST | ( | MutableLineStringsTest | , |
| invertAndInsertMultiple | |||
| ) |
Definition at line 279 of file test_linestring.cpp.
| TYPED_TEST | ( | MutableLineStringsTest | , |
| invertAndInsertOne | |||
| ) |
Definition at line 264 of file test_linestring.cpp.
| TYPED_TEST | ( | MutableLineStringsTest | , |
| invertAndPushBack | |||
| ) |
Definition at line 252 of file test_linestring.cpp.
| TYPED_TEST | ( | MutableLineStringsTest | , |
| invertAndResize | |||
| ) |
Definition at line 289 of file test_linestring.cpp.
| TYPED_TEST | ( | MutableLineStringsTest | , |
| readAttributes | |||
| ) |
Definition at line 224 of file test_linestring.cpp.
| TYPED_TEST | ( | PrimitiveLineStringsTest | , |
| align | |||
| ) |
Definition at line 559 of file test_linestring.cpp.
| TYPED_TEST | ( | PrimitiveLineStringsTest | , |
| constConversion | |||
| ) |
Definition at line 231 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| bounds3d | |||
| ) |
Definition at line 305 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| closestSegment | |||
| ) |
Definition at line 505 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| closestSegmentLongLinestring | |||
| ) |
Definition at line 520 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| distance3d | |||
| ) |
Definition at line 315 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| distance3dLongLinestring | |||
| ) |
Definition at line 320 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| intersects3d | |||
| ) |
Definition at line 450 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| projectedPoint | |||
| ) |
Definition at line 472 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| projectedPointL2L | |||
| ) |
Definition at line 534 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| projectedPointL2LLongLinestring | |||
| ) |
Definition at line 550 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| projectedPointLongLinestring | |||
| ) |
Definition at line 488 of file test_linestring.cpp.
| TYPED_TEST | ( | ThreeDLineStringsTest | , |
| signedDistance | |||
| ) |
Definition at line 439 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| arcCoordinates | |||
| ) |
Definition at line 456 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| bounds2d | |||
| ) |
Definition at line 297 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| closestSegment | |||
| ) |
Definition at line 497 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| closestSegmentLongLinestring | |||
| ) |
Definition at line 513 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| fromArcCoords | |||
| ) |
Definition at line 586 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| offset | |||
| ) |
Definition at line 595 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| projectedPoint | |||
| ) |
Definition at line 465 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| projectedPointL2L | |||
| ) |
Definition at line 527 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| projectedPointL2LLongLinestring | |||
| ) |
Definition at line 541 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| projectedPointLongLinestring | |||
| ) |
Definition at line 480 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| shiftLateral | |||
| ) |
Definition at line 648 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDLineStringsTest | , |
| signedDistance | |||
| ) |
Definition at line 424 of file test_linestring.cpp.
| TYPED_TEST | ( | TwoDPointsTest | , |
| checkCurvature | |||
| ) |
Definition at line 413 of file test_linestring.cpp.
| TYPED_TEST_SUITE | ( | AllLineStringsTest | , |
| AllLineStrings | |||
| ) |
| TYPED_TEST_SUITE | ( | BasicLineStringsTest | , |
| BasicLineStrings | |||
| ) |
| TYPED_TEST_SUITE | ( | HybridLineStringsTest | , |
| HybridLineStrings | |||
| ) |
| TYPED_TEST_SUITE | ( | MutableLineStringsTest | , |
| MutableLineStrings | |||
| ) |
| TYPED_TEST_SUITE | ( | NonHybridLineStringsTest | , |
| NonHybridLineStrings | |||
| ) |
| TYPED_TEST_SUITE | ( | NormalLineStringsTest | , |
| NormalLineStrings | |||
| ) |
| TYPED_TEST_SUITE | ( | PrimitiveLineStringsTest | , |
| PrimitiveLineStrings | |||
| ) |
| TYPED_TEST_SUITE | ( | ThreeDLineStringsTest | , |
| ThreeDLineStrings | |||
| ) |
| TYPED_TEST_SUITE | ( | TwoDLineStringsTest | , |
| TwoDLineStrings | |||
| ) |
| TYPED_TEST_SUITE | ( | TwoDPointsTest | , |
| TwoDPoints | |||
| ) |