TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::place::Violations Struct Reference

Every conflict in a placement (for the final report and tests): movable-involved pairs and parts outside. More...

#include <place/legality.hpp>

Public Attributes

int overlaps = 0
 conflicting pairs with at least one movable part
int fixed_overlaps = 0
 pairs of fixed parts (pre-existing, not ours)
int outside = 0
 movable parts failing inside_ok
int fixed_outside = 0
std::vector< std::pair< int, int > > pairs
std::vector< int > outside_parts

Detailed Description

Every conflict in a placement (for the final report and tests): movable-involved pairs and parts outside.

Definition at line 109 of file legality.hpp.

Member Data Documentation

◆ fixed_outside

int tmk::place::Violations::fixed_outside = 0

Definition at line 113 of file legality.hpp.

◆ fixed_overlaps

int tmk::place::Violations::fixed_overlaps = 0

pairs of fixed parts (pre-existing, not ours)

Definition at line 111 of file legality.hpp.

◆ outside

int tmk::place::Violations::outside = 0

movable parts failing inside_ok

Definition at line 112 of file legality.hpp.

◆ outside_parts

std::vector<int> tmk::place::Violations::outside_parts

Definition at line 115 of file legality.hpp.

◆ overlaps

int tmk::place::Violations::overlaps = 0

conflicting pairs with at least one movable part

Definition at line 110 of file legality.hpp.

◆ pairs

std::vector<std::pair<int, int> > tmk::place::Violations::pairs

Definition at line 114 of file legality.hpp.


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