KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_vector_utils.cpp File Reference

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (PointIsInDirection)
 
 BOOST_AUTO_TEST_CASE (ProjectsOntoSeg)
 
 BOOST_AUTO_TEST_CASE (LengthRatio)
 
 BOOST_AUTO_TEST_CASE (NearestEndpoint)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( LengthRatio  )

Definition at line 60 of file test_vector_utils.cpp.

References KIGEOM::GetLengthRatioFromStart().

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( NearestEndpoint  )

Definition at line 73 of file test_vector_utils.cpp.

References SEG::A, SEG::B, and KIGEOM::GetNearestEndpoint().

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( PointIsInDirection  )

Definition at line 26 of file test_vector_utils.cpp.

References KIGEOM::PointIsInDirection().

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( ProjectsOntoSeg  )

Definition at line 52 of file test_vector_utils.cpp.

References KIGEOM::PointProjectsOntoSegment().