KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CollisionFixture Struct Reference

Fixture for the Collision test suite. More...

Public Types

typedef std::tuple< SEG, bool, VECTOR2ISEG_CASE
 

Public Member Functions

 CollisionFixture ()
 Constructor.
 
 ~CollisionFixture ()
 

Public Attributes

struct KI_TEST::CommonTestData common
 
std::vector< VECTOR2IcollidingPoints
 
std::vector< VECTOR2InonCollidingPoints
 
std::vector< SEG_CASEsegs
 

Detailed Description

Fixture for the Collision test suite.

It contains an instance of the common data and two vectors containing colliding and non-colliding points.

Definition at line 37 of file test_shape_poly_set_collision.cpp.

Member Typedef Documentation

◆ SEG_CASE

typedef std::tuple<SEG, bool, VECTOR2I> CollisionFixture::SEG_CASE

Definition at line 46 of file test_shape_poly_set_collision.cpp.

Constructor & Destructor Documentation

◆ CollisionFixture()

CollisionFixture::CollisionFixture ( )
inline

Constructor.

Definition at line 53 of file test_shape_poly_set_collision.cpp.

References collidingPoints, nonCollidingPoints, and segs.

◆ ~CollisionFixture()

CollisionFixture::~CollisionFixture ( )
inline

Definition at line 104 of file test_shape_poly_set_collision.cpp.

Member Data Documentation

◆ collidingPoints

std::vector<VECTOR2I> CollisionFixture::collidingPoints

Definition at line 43 of file test_shape_poly_set_collision.cpp.

Referenced by CollisionFixture().

◆ common

struct KI_TEST::CommonTestData CollisionFixture::common

Definition at line 40 of file test_shape_poly_set_collision.cpp.

◆ nonCollidingPoints

std::vector<VECTOR2I> CollisionFixture::nonCollidingPoints

Definition at line 43 of file test_shape_poly_set_collision.cpp.

Referenced by CollisionFixture().

◆ segs

std::vector<SEG_CASE> CollisionFixture::segs

Definition at line 48 of file test_shape_poly_set_collision.cpp.

Referenced by CollisionFixture().


The documentation for this struct was generated from the following file: