OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GCodeProcessor::PositionState Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/GCode/GCodeProcessor.hpp>

Collaboration diagram for Slic3r::GCodeProcessor::PositionState:

Public Member Functions

bool has_known_xy () const
bool has_known_z () const

Public Attributes

Vec3d position { Vec3d::Zero() }
std::array< bool, 3 > axis_known { false, false, false }

Detailed Description

Member Function Documentation

◆ has_known_xy()

bool Slic3r::GCodeProcessor::PositionState::has_known_xy ( ) const
inline
1390{ return axis_known[X] && axis_known[Y]; }
@ Y
Definition libslic3r.h:142
@ X
Definition libslic3r.h:141
std::array< bool, 3 > axis_known
Definition GCodeProcessor.hpp:1388

References axis_known, Slic3r::X, and Slic3r::Y.

Referenced by Slic3r::GCode::_do_export().

Here is the caller graph for this function:

◆ has_known_z()

bool Slic3r::GCodeProcessor::PositionState::has_known_z ( ) const
inline
1391{ return axis_known[Z]; }
@ Z
Definition libslic3r.h:143

References axis_known, and Slic3r::Z.

Member Data Documentation

◆ axis_known

std::array<bool, 3> Slic3r::GCodeProcessor::PositionState::axis_known { false, false, false }
1388{ false, false, false };

Referenced by Slic3r::GCodeProcessor::get_current_position(), has_known_xy(), and has_known_z().

◆ position

Vec3d Slic3r::GCodeProcessor::PositionState::position { Vec3d::Zero() }

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