SILICON
Loading...
Searching...
No Matches
circuitAutoplacerHeuristics.hpp File Reference
#include <algorithm>
#include <compare>
#include <cstddef>
#include <span>
#include <utility>
#include <QPointF>
#include <QRectF>
#include <ui/circuit/diagram/portGeometry.hpp>
Include dependency graph for circuitAutoplacerHeuristics.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AutoplacementQuality

Namespaces

namespace  SILICON
namespace  SILICON::ui
namespace  SILICON::ui::detail

Functions

qreal portDirectionViolationDistance (const PortSide side, const QPointF &endpoint, const QPointF &peer)
bool hasBoundsClearance (const QRectF &candidate, const std::span< const QRectF > accepted, const qreal clearance)
bool boundsLieOutsideTarget (const PortSide side, const QRectF &item, const QRectF &target, const qreal clearance)