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

Fixture for the Collision test suite. More...

Public Member Functions

 ShapeCompoundCollisionFixture ()
 Constructor.
 
 ~ShapeCompoundCollisionFixture ()
 

Public Attributes

struct KI_TEST::CommonTestData common
 
std::vector< SHAPE * > shapesA
 
std::vector< SHAPE * > shapesB
 
std::vector< SHAPE * > shapesC
 
SHAPE_COMPOUNDcompoundA
 
SHAPE_COMPOUNDcompoundB
 
SHAPE_COMPOUNDcompoundC
 

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 36 of file test_shape_compound_collision.cpp.

Constructor & Destructor Documentation

◆ ShapeCompoundCollisionFixture()

ShapeCompoundCollisionFixture::ShapeCompoundCollisionFixture ( )
inline

Constructor.

Definition at line 51 of file test_shape_compound_collision.cpp.

References compoundA, compoundB, compoundC, shapesA, shapesB, and shapesC.

◆ ~ShapeCompoundCollisionFixture()

ShapeCompoundCollisionFixture::~ShapeCompoundCollisionFixture ( )
inline

Definition at line 67 of file test_shape_compound_collision.cpp.

References compoundA, compoundB, and compoundC.

Member Data Documentation

◆ common

struct KI_TEST::CommonTestData ShapeCompoundCollisionFixture::common

Definition at line 39 of file test_shape_compound_collision.cpp.

◆ compoundA

SHAPE_COMPOUND* ShapeCompoundCollisionFixture::compoundA

◆ compoundB

SHAPE_COMPOUND* ShapeCompoundCollisionFixture::compoundB

◆ compoundC

SHAPE_COMPOUND* ShapeCompoundCollisionFixture::compoundC

◆ shapesA

std::vector<SHAPE*> ShapeCompoundCollisionFixture::shapesA

Definition at line 42 of file test_shape_compound_collision.cpp.

Referenced by ShapeCompoundCollisionFixture().

◆ shapesB

std::vector<SHAPE*> ShapeCompoundCollisionFixture::shapesB

Definition at line 42 of file test_shape_compound_collision.cpp.

Referenced by ShapeCompoundCollisionFixture().

◆ shapesC

std::vector<SHAPE*> ShapeCompoundCollisionFixture::shapesC

Definition at line 42 of file test_shape_compound_collision.cpp.

Referenced by ShapeCompoundCollisionFixture().


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