8 #ifndef META_OCEAN_TEST_TESTMATH_FINITE_LINE_2_H
9 #define META_OCEAN_TEST_TESTMATH_FINITE_LINE_2_H
35 static bool test(
const double testDuration);
105 template <
typename T>
This class implements a 2D finite line test.
Definition: TestFiniteLine2.h:27
static bool testIsCollinear(const double testDuration)
Test to check if a two line segments are collinear.
static bool testIsEqual(const double testDuration)
Tests the isEqual() function.
static bool testIsOnLine(const double testDuration)
Is on line test.
static bool testNearestPointOnInfiniteLine(const double testDuration)
Tests the nearestPointOnInfiniteLine() function.
static bool testNormal(const double testDuration)
Test to check calculation of normal vector of a line.
static bool test(const double testDuration)
This functions tests all 2D finite line functions.
static bool testNearestPoint(const double testDuration)
Tests the nearestPoint() function.
static bool testIsLeftOfLine(const double testDuration)
Test to check if a point is left of a line, i.e.
static bool testIntersection(const double testDuration)
Tests the intersection() function.
static bool testDistance(const double testDuration)
Distance test.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15