OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::Geometry::SegmentCellRange< PT > Struct Template Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Geometry/VoronoiUtils.hpp>

Public Member Functions

 SegmentCellRange ()=delete
 SegmentCellRange (const PT &source_segment_start_point, const PT &source_segment_end_point)
bool is_valid () const

Public Attributes

const PT source_segment_start_point
const PT source_segment_end_point
const VoronoiDiagram::edge_type * edge_begin = nullptr
const VoronoiDiagram::edge_type * edge_end = nullptr

Detailed Description

template<typename PT>
struct Slic3r::Geometry::SegmentCellRange< PT >

Constructor & Destructor Documentation

◆ SegmentCellRange() [1/2]

template<typename PT>
Slic3r::Geometry::SegmentCellRange< PT >::SegmentCellRange ( )
delete

◆ SegmentCellRange() [2/2]

template<typename PT>
Slic3r::Geometry::SegmentCellRange< PT >::SegmentCellRange ( const PT & source_segment_start_point,
const PT & source_segment_end_point )
inlineexplicit

Member Function Documentation

◆ is_valid()

template<typename PT>
bool Slic3r::Geometry::SegmentCellRange< PT >::is_valid ( ) const
inline
28{ return edge_begin && edge_end && edge_begin != edge_end; }
const VoronoiDiagram::edge_type * edge_end
Definition VoronoiUtils.hpp:21
const VoronoiDiagram::edge_type * edge_begin
Definition VoronoiUtils.hpp:20

References edge_begin, and edge_end.

Referenced by Slic3r::Arachne::SkeletalTrapezoidation::constructFromPolygons().

Here is the caller graph for this function:

Member Data Documentation

◆ edge_begin

◆ edge_end

◆ source_segment_end_point

template<typename PT>
const PT Slic3r::Geometry::SegmentCellRange< PT >::source_segment_end_point

◆ source_segment_start_point

template<typename PT>
const PT Slic3r::Geometry::SegmentCellRange< PT >::source_segment_start_point

The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Geometry/VoronoiUtils.hpp