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

Public Member Functions

 Segment (const Vec2f &s, const Vec2f &e)
bool is_valid () const
 Segment (const Vec2f &s, const Vec2f &e)
bool is_valid () const

Public Attributes

Vec2f start
Vec2f end
bool is_arc = false
ArcSegment arcsegment

Detailed Description

Constructor & Destructor Documentation

◆ Segment() [1/2]

Slic3r::Segment::Segment ( const Vec2f & s,
const Vec2f & e )
inline
394: start(s), end(e) {}
Vec2f end
Definition WipeTower.cpp:391
Vec2f start
Definition WipeTower.cpp:390

References end, and start.

◆ Segment() [2/2]

Slic3r::Segment::Segment ( const Vec2f & s,
const Vec2f & e )
inline
309: start(s), end(e) {}

References end, and start.

Member Function Documentation

◆ is_valid() [1/2]

bool Slic3r::Segment::is_valid ( ) const
inline
395{ return start.y() < end.y(); }

References end, and start.

◆ is_valid() [2/2]

bool Slic3r::Segment::is_valid ( ) const
inline
310{ return start.y() < end.y(); }

References end, and start.

Member Data Documentation

◆ arcsegment

ArcSegment Slic3r::Segment::arcsegment

◆ end

Vec2f Slic3r::Segment::end

Referenced by Segment(), and is_valid().

◆ is_arc

bool Slic3r::Segment::is_arc = false

◆ start

Vec2f Slic3r::Segment::start

Referenced by Segment(), and is_valid().


The documentation for this struct was generated from the following files:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/GCode/WipeTower.cpp
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/GCode/WipeTower2.cpp