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

#include <place/legality.hpp>

Public Member Functions

Point pin (const Problem &p, int pin_index) const

Static Public Member Functions

static Placement initial (const Problem &p)
 every part where the board has it

Public Attributes

std::vector< Point > pos
 footprint origin per part
std::vector< std::uint8_t > rot
 rotation index per part (angle0 + 90° * rot)

Detailed Description

Definition at line 13 of file legality.hpp.

Member Function Documentation

◆ initial()

Placement tmk::place::Placement::initial ( const Problem & p)
static

every part where the board has it

◆ pin()

Point tmk::place::Placement::pin ( const Problem & p,
int pin_index ) const
inline

Definition at line 18 of file legality.hpp.

Member Data Documentation

◆ pos

std::vector<Point> tmk::place::Placement::pos

footprint origin per part

Definition at line 14 of file legality.hpp.

◆ rot

std::vector<std::uint8_t> tmk::place::Placement::rot

rotation index per part (angle0 + 90° * rot)

Definition at line 15 of file legality.hpp.


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