OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::ConnectionCost Struct Reference

Public Member Functions

 ConnectionCost (double cost, double cost_flipped)
 ConnectionCost ()
void flip ()

Public Attributes

double cost = 0
double cost_flipped = 0

Detailed Description

Constructor & Destructor Documentation

◆ ConnectionCost() [1/2]

Slic3r::ConnectionCost::ConnectionCost ( double cost,
double cost_flipped )
inline
double cost_flipped
Definition ShortestPath.cpp:1852
double cost
Definition ShortestPath.cpp:1851

References cost, and cost_flipped.

◆ ConnectionCost() [2/2]

Slic3r::ConnectionCost::ConnectionCost ( )
inline
1849: cost(0.), cost_flipped(0.) {}

References cost, and cost_flipped.

Member Function Documentation

◆ flip()

void Slic3r::ConnectionCost::flip ( )
inline
1850{ std::swap(this->cost, this->cost_flipped); }

References cost_flipped.

Member Data Documentation

◆ cost

◆ cost_flipped


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