scenario_simulator_v2 C++ API
|
#include <gtest/gtest.h>
#include <cmath>
#include <geometry/polygon/line_segment.hpp>
#include <geometry/quaternion/euler_to_quaternion.hpp>
#include <geometry/quaternion/quaternion_to_euler.hpp>
#include <scenario_simulator_exception/exception.hpp>
#include "../expect_eq_macros.hpp"
#include "../test_utils.hpp"
Functions | |
TEST (LineSegment, initializeDifferentPoints) | |
TEST (LineSegment, initializeIdenticalPoints) | |
TEST (LineSegment, initializeVector) | |
TEST (LineSegment, initializeVectorZero) | |
TEST (LineSegment, initializeVectorZeroLength) | |
TEST (LineSegment, getPoint_outOfBounds_denormalized) | |
TEST (LineSegment, getPoint_outOfBounds_normalized) | |
TEST (LineSegment, getPoint_inside_denormalized) | |
TEST (LineSegment, getPoint_inside_normalized) | |
TEST (LineSegment, getPose_denormalized) | |
TEST (LineSegment, getPose_normalized) | |
TEST (LineSegment, getPose_pitch) | |
TEST (LineSegment, isIntersect2DDisjoint) | |
TEST (LineSegment, isIntersect2DIntersect) | |
TEST (LineSegment, isIntersect2DIdentical) | |
TEST (LineSegment, isIntersect2D_collinear) | |
TEST (LineSegment, isIntersect2D_pointInside) | |
TEST (LineSegment, isIntersect2D_pointOutside) | |
TEST (LineSegment, isIntersect2D_pointCollinear) | |
TEST (LineSegment, isIntersect2D_pointOnEnd) | |
TEST (LineSegment, get2DIntersectionSValue_line_vertical) | |
TEST (LineSegment, get2DIntersectionSValue_line_horizontal) | |
TEST (LineSegment, get2DIntersectionSValue_line_bounds) | |
TEST (LineSegment, get2DIntersectionSValue_line_outside) | |
TEST (LineSegment, get2DIntersectionSValue_line_collinear) | |
TEST (LineSegment, get2DIntersectionSValue_point_vertical) | |
TEST (LineSegment, get2DIntersectionSValue_point_horizontal) | |
TEST (LineSegment, get2DIntersectionSValue_point_bounds) | |
TEST (LineSegment, get2DIntersectionSValue_point_outside) | |
TEST (LineSegment, getIntersection2DDisjoint) | |
TEST (LineSegment, getIntersection2DIntersect) | |
TEST (LineSegment, getIntersection2DIdentical) | |
TEST (LineSegment, getSValue) | |
TEST (LineSegment, getSValue_denormalize) | |
TEST (LineSegment, getSValue_outOfRange) | |
TEST (LineSegment, getSValue_outOfRangeDenormalize) | |
TEST (LineSegment, getSValue_parallel) | |
TEST (LineSegment, getSValue_parallelDenormalize) | |
TEST (LineSegment, getVector) | |
TEST (LineSegment, getVectorZeroLength) | |
TEST (LineSegment, getNormalVector) | |
TEST (LineSegment, getNormalVector_zeroLength) | |
TEST (LineSegment, get2DVector) | |
TEST (LineSegment, get2DVectorZeroLength) | |
TEST (LineSegment, getLength) | |
TEST (LineSegment, getLengthZeroLength) | |
TEST (LineSegment, get2DLength) | |
TEST (LineSegment, get2DLengthZeroLength) | |
TEST (LineSegment, get2DVectorSlope) | |
TEST (LineSegment, get2DVectorSlopeZeroLength) | |
TEST (LineSegment, getSquaredDistanceIn2D) | |
TEST (LineSegment, getSquaredDistanceIn2D_denormalize) | |
TEST (LineSegment, getSquaredDistanceVector) | |
TEST (LineSegment, getSquaredDistanceVector_denormalize) | |
TEST (LineSegment, getLineSegments) | |
TEST (LineSegment, getLineSegments_closeStartEnd) | |
TEST (LineSegment, getLineSegmentsVectorEmpty) | |
TEST (LineSegment, getLineSegmentsVectorIdentical) | |
TEST (LineSegment, getLineSegmentsVectorIdentical_closeStartEnd) | |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
TEST | ( | LineSegment | , |
get2DIntersectionSValue_line_bounds | |||
) |
TEST | ( | LineSegment | , |
get2DIntersectionSValue_line_collinear | |||
) |
TEST | ( | LineSegment | , |
get2DIntersectionSValue_line_horizontal | |||
) |
TEST | ( | LineSegment | , |
get2DIntersectionSValue_line_outside | |||
) |
TEST | ( | LineSegment | , |
get2DIntersectionSValue_line_vertical | |||
) |
TEST | ( | LineSegment | , |
get2DIntersectionSValue_point_bounds | |||
) |
TEST | ( | LineSegment | , |
get2DIntersectionSValue_point_horizontal | |||
) |
TEST | ( | LineSegment | , |
get2DIntersectionSValue_point_outside | |||
) |
TEST | ( | LineSegment | , |
get2DIntersectionSValue_point_vertical | |||
) |
TEST | ( | LineSegment | , |
get2DLength | |||
) |
TEST | ( | LineSegment | , |
get2DLengthZeroLength | |||
) |
TEST | ( | LineSegment | , |
get2DVector | |||
) |
TEST | ( | LineSegment | , |
get2DVectorSlope | |||
) |
TEST | ( | LineSegment | , |
get2DVectorSlopeZeroLength | |||
) |
TEST | ( | LineSegment | , |
get2DVectorZeroLength | |||
) |
TEST | ( | LineSegment | , |
getIntersection2DDisjoint | |||
) |
TEST | ( | LineSegment | , |
getIntersection2DIdentical | |||
) |
TEST | ( | LineSegment | , |
getIntersection2DIntersect | |||
) |
TEST | ( | LineSegment | , |
getLength | |||
) |
TEST | ( | LineSegment | , |
getLengthZeroLength | |||
) |
TEST | ( | LineSegment | , |
getLineSegments | |||
) |
TEST | ( | LineSegment | , |
getLineSegments_closeStartEnd | |||
) |
TEST | ( | LineSegment | , |
getLineSegmentsVectorEmpty | |||
) |
TEST | ( | LineSegment | , |
getLineSegmentsVectorIdentical | |||
) |
TEST | ( | LineSegment | , |
getLineSegmentsVectorIdentical_closeStartEnd | |||
) |
TEST | ( | LineSegment | , |
getNormalVector | |||
) |
TEST | ( | LineSegment | , |
getNormalVector_zeroLength | |||
) |
TEST | ( | LineSegment | , |
getPoint_inside_denormalized | |||
) |
TEST | ( | LineSegment | , |
getPoint_inside_normalized | |||
) |
TEST | ( | LineSegment | , |
getPoint_outOfBounds_denormalized | |||
) |
TEST | ( | LineSegment | , |
getPoint_outOfBounds_normalized | |||
) |
TEST | ( | LineSegment | , |
getPose_denormalized | |||
) |
TEST | ( | LineSegment | , |
getPose_normalized | |||
) |
TEST | ( | LineSegment | , |
getPose_pitch | |||
) |
TEST | ( | LineSegment | , |
getSquaredDistanceIn2D | |||
) |
TEST | ( | LineSegment | , |
getSquaredDistanceIn2D_denormalize | |||
) |
TEST | ( | LineSegment | , |
getSquaredDistanceVector | |||
) |
TEST | ( | LineSegment | , |
getSquaredDistanceVector_denormalize | |||
) |
TEST | ( | LineSegment | , |
getSValue | |||
) |
TEST | ( | LineSegment | , |
getSValue_denormalize | |||
) |
TEST | ( | LineSegment | , |
getSValue_outOfRange | |||
) |
TEST | ( | LineSegment | , |
getSValue_outOfRangeDenormalize | |||
) |
TEST | ( | LineSegment | , |
getSValue_parallel | |||
) |
TEST | ( | LineSegment | , |
getSValue_parallelDenormalize | |||
) |
TEST | ( | LineSegment | , |
getVector | |||
) |
TEST | ( | LineSegment | , |
getVectorZeroLength | |||
) |
TEST | ( | LineSegment | , |
initializeDifferentPoints | |||
) |
TEST | ( | LineSegment | , |
initializeIdenticalPoints | |||
) |
TEST | ( | LineSegment | , |
initializeVector | |||
) |
TEST | ( | LineSegment | , |
initializeVectorZero | |||
) |
TEST | ( | LineSegment | , |
initializeVectorZeroLength | |||
) |
TEST | ( | LineSegment | , |
isIntersect2D_collinear | |||
) |
TEST | ( | LineSegment | , |
isIntersect2D_pointCollinear | |||
) |
TEST | ( | LineSegment | , |
isIntersect2D_pointInside | |||
) |
TEST | ( | LineSegment | , |
isIntersect2D_pointOnEnd | |||
) |
TEST | ( | LineSegment | , |
isIntersect2D_pointOutside | |||
) |
TEST | ( | LineSegment | , |
isIntersect2DDisjoint | |||
) |
TEST | ( | LineSegment | , |
isIntersect2DIdentical | |||
) |
TEST | ( | LineSegment | , |
isIntersect2DIntersect | |||
) |