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

#include <snap_resolver.h>

Public Member Functions

bool Accepted (const SNAP_STABLE_ID &aId) const
 

Public Attributes

SNAP_RESULT_STATUS status = SNAP_RESULT_STATUS::SUCCESS
 
std::vector< SNAP_STABLE_IDaccepted
 
VECTOR2I position
 
int remainingDof = 2
 
std::vector< double > quantizedResiduals
 
std::vector< SNAP_GUIDEguides
 

Detailed Description

Definition at line 241 of file snap_resolver.h.

Member Function Documentation

◆ Accepted()

bool SNAP_RESULT::Accepted ( const SNAP_STABLE_ID & aId) const

Member Data Documentation

◆ accepted

std::vector<SNAP_STABLE_ID> SNAP_RESULT::accepted

◆ guides

std::vector<SNAP_GUIDE> SNAP_RESULT::guides

Definition at line 248 of file snap_resolver.h.

Referenced by GRID_HELPER::applySnapResultGuides(), and BOOST_AUTO_TEST_CASE().

◆ position

◆ quantizedResiduals

std::vector<double> SNAP_RESULT::quantizedResiduals

Definition at line 247 of file snap_resolver.h.

Referenced by BOARD_CONSTRAINT_SESSION::accept().

◆ remainingDof

int SNAP_RESULT::remainingDof = 2

Definition at line 246 of file snap_resolver.h.

Referenced by BOARD_CONSTRAINT_SESSION::accept().

◆ status

Definition at line 243 of file snap_resolver.h.

Referenced by BOOST_FIXTURE_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().


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