KiCad PCB EDA Suite
Loading...
Searching...
No Matches
3d_model_align.cpp File Reference
#include "3d_model_align.h"
#include <core/union_find.h>
#include <plugins/3dapi/c3dmodel.h>
#include <Eigen/Dense>
#include <algorithm>
#include <cmath>
#include <functional>
#include <limits>
#include <map>
#include <numeric>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  MODEL_ALIGN
 

Functions

std::vector< REGIONMODEL_ALIGN::BuildRegions (const S3DMODEL &aModel, const glm::dvec3 &aScale)
 
std::vector< PADMODEL_ALIGN::BuildPadGroup (const std::vector< PAD > &aPads, size_t aClickedPad)
 Return the clicked pad first, followed by its congruent, deduplicated peers.
 
std::vector< ALIGN_SOLUTIONMODEL_ALIGN::SolveAlignment (const std::vector< REGION > &aRegions, size_t aSeed, const std::vector< PAD > &aPadGroup, const std::vector< PAD > &aAllPads, const glm::dvec3 &aCurrentRotation)
 The first element of aPadGroup must be the clicked pad; all coordinates are millimetres, Y up.