Blender  V2.93
Functions
BLI_math_geom_test.cc File Reference
#include "testing/testing.h"
#include "BLI_math.h"

Go to the source code of this file.

Functions

 TEST (math_geom, DistToLine2DSimple)
 
 TEST (math_geom, DistToLineSegment2DSimple)
 

Function Documentation

◆ TEST() [1/2]

TEST ( math_geom  ,
DistToLine2DSimple   
)

Definition at line 7 of file BLI_math_geom_test.cc.

References Freestyle::a, dist_to_line_v2(), distance(), and e.

◆ TEST() [2/2]

TEST ( math_geom  ,
DistToLineSegment2DSimple   
)

Definition at line 14 of file BLI_math_geom_test.cc.

References Freestyle::a, dist_to_line_segment_v2(), distance(), e, and sqrtf.