OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::MonotonicRegion Struct Reference
Collaboration diagram for Slic3r::MonotonicRegion:

Classes

struct  Boundary

Public Member Functions

float length (bool region_flipped) const
int left_intersection_point (bool region_flipped) const
int right_intersection_point (bool region_flipped) const

Public Attributes

Boundary left
Boundary right
float len1 { 0.f }
float len2 { 0.f }
bool flips { false }
std::vector< MonotonicRegion * > left_neighbors
std::vector< MonotonicRegion * > right_neighbors

Detailed Description


Class Documentation

◆ Slic3r::MonotonicRegion::Boundary

struct Slic3r::MonotonicRegion::Boundary
Class Members
int high
int low
int vline

Member Function Documentation

◆ left_intersection_point()

int Slic3r::MonotonicRegion::left_intersection_point ( bool region_flipped) const
inline
1628{ return region_flipped ? left.high : left.low; }
Boundary left
Definition FillRectilinear.cpp:1616

References left.

Referenced by Slic3r::montonous_region_path_length(), Slic3r::AntPathMatrix::operator()(), and Slic3r::polylines_from_paths().

Here is the caller graph for this function:

◆ length()

float Slic3r::MonotonicRegion::length ( bool region_flipped) const
inline
1627{ return region_flipped ? len2 : len1; }
float len2
Definition FillRectilinear.cpp:1622
float len1
Definition FillRectilinear.cpp:1620

References len1, and len2.

Referenced by Slic3r::chain_monotonic_regions().

Here is the caller graph for this function:

◆ right_intersection_point()

int Slic3r::MonotonicRegion::right_intersection_point ( bool region_flipped) const
inline
1629{ return (region_flipped == flips) ? right.low : right.high; }
bool flips
Definition FillRectilinear.cpp:1625
Boundary right
Definition FillRectilinear.cpp:1617

References flips, and right.

Referenced by Slic3r::AntPathMatrix::operator()(), and Slic3r::polylines_from_paths().

Here is the caller graph for this function:

Member Data Documentation

◆ flips

bool Slic3r::MonotonicRegion::flips { false }

◆ left

◆ left_neighbors

std::vector<MonotonicRegion*> Slic3r::MonotonicRegion::left_neighbors

◆ len1

float Slic3r::MonotonicRegion::len1 { 0.f }
1620{ 0.f };

Referenced by length().

◆ len2

float Slic3r::MonotonicRegion::len2 { 0.f }
1622{ 0.f };

Referenced by length().

◆ right

◆ right_neighbors

std::vector<MonotonicRegion*> Slic3r::MonotonicRegion::right_neighbors

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