KiCad PCB EDA Suite
Loading...
Searching...
No Matches
snap_resolver.cpp File Reference
#include <snap/snap_resolver.h>
#include "snap_manifold.h"
#include <mmh3_hash.h>
#include <algorithm>
#include <array>
#include <cmath>
#include <iomanip>
#include <ostream>
#include <sstream>
#include <tuple>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &aStream, SNAP_RESULT_STATUS aStatus)
 
SNAP_STABLE_ID MakeDerivedSnapId (SNAP_ID_KIND aKind, const SNAP_STABLE_ID &aSource, int aFeatureIndex, int aSolutionBranch)
 
SNAP_STABLE_ID MakeIntersectionSnapId (const SNAP_STABLE_ID &aFirst, const SNAP_STABLE_ID &aSecond, int aSolutionBranch)
 
SNAP_STABLE_ID MakePointSnapId (SNAP_ID_KIND aKind, const VECTOR2I &aPoint, int aFeatureIndex)
 
SNAP_STABLE_ID MakeCompositeSnapId (SNAP_ID_KIND aKind, const std::vector< SNAP_TARGET_ID > &aTargets, int aFeatureIndex)
 

Function Documentation

◆ MakeCompositeSnapId()

SNAP_STABLE_ID MakeCompositeSnapId ( SNAP_ID_KIND aKind,
const std::vector< SNAP_TARGET_ID > & aTargets,
int aFeatureIndex )

◆ MakeDerivedSnapId()

◆ MakeIntersectionSnapId()

SNAP_STABLE_ID MakeIntersectionSnapId ( const SNAP_STABLE_ID & aFirst,
const SNAP_STABLE_ID & aSecond,
int aSolutionBranch )

◆ MakePointSnapId()

◆ operator<<()

std::ostream & operator<< ( std::ostream & aStream,
SNAP_RESULT_STATUS aStatus )

Definition at line 440 of file snap_resolver.cpp.