#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Line.hpp>
|
| static const constexpr int | Dim = 3 |
◆ Scalar
◆ Line3() [1/3]
230:
a(Point3()),
b(Point3()) {}
Point3 b
Definition Line.hpp:248
Point3 a
Definition Line.hpp:247
References a, and b.
Referenced by distance_to_squared().
◆ Line3() [2/3]
| Slic3r::Line3::Line3 |
( |
const Point3 & | _a, |
|
|
const Point3 & | _b ) |
|
inline |
◆ Line3() [3/3]
233:
a(Point3(_a)),
b(Point3(_b)) {}
References a, and b.
◆ distance_to_squared()
| double Slic3r::Line3::distance_to_squared |
( |
const Point3 & | point, |
|
|
const Point3 & | a, |
|
|
const Point3 & | b ) |
|
inlinestatic |
◆ length()
| double Slic3r::Line3::length |
( |
| ) |
const |
|
inline |
◆ midpoint()
| Point3 Slic3r::Line3::midpoint |
( |
| ) |
const |
|
inline |
237{
return Point3((this->
a.x() + this->b.x()) / 2, (this->a.y() + this->b.y()) / 2, (this->a.z() + this->b.z()) / 2); }
References a.
◆ to_line()
| Line Slic3r::Line3::to_line |
( |
| ) |
const |
|
inline |
240{
return Line(this->
a.to_point(), this->b.to_point()); }
References a.
◆ vector()
| Point3 Slic3r::Line3::vector |
( |
| ) |
const |
|
inline |
236{
Vec3crd v = this->
b - this->
a;
return Point3(v.x(), v.y(), v.z()); }
Eigen::Matrix< coord_t, 3, 1, Eigen::DontAlign > Vec3crd
Definition Point.hpp:53
References a, and b.
Referenced by Slic3r::thick_lines_to_geometry().
Referenced by Line3(), Line3(), Line3(), Slic3r::Point3::ccw(), distance_to_squared(), length(), midpoint(), Slic3r::Point3::projection_onto(), Slic3r::thick_lines_to_geometry(), to_line(), and vector().
◆ Dim
| const constexpr int Slic3r::Line3::Dim = 3 |
|
staticconstexpr |
The documentation for this class was generated from the following file:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Line.hpp