|
| | SpikeDesc (double bevel_size, double pixel_spike_length=6) |
| | Calculate spike description.
|
| |
◆ SpikeDesc()
| priv::SpikeDesc::SpikeDesc |
( |
double |
bevel_size, |
|
|
double |
pixel_spike_length = 6 |
|
) |
| |
|
inline |
Calculate spike description.
- Parameters
-
| bevel_size | Size of spike width after cut of the tip, has to be grater than 2.5 |
| pixel_spike_length | When spike has same or more pixels with width less than 1 pixel |
90 {
91
92
93 double angle = 2. * atan2(pixel_spike_length, .5);
95
96
97
99 }
EIGEN_DEVICE_FUNC const CosReturnType cos() const
Definition ArrayCwiseUnaryOps.h:202
double angle(const Eigen::MatrixBase< Derived > &v1, const Eigen::MatrixBase< Derived2 > &v2)
Definition Point.hpp:112
double cos_angle
Definition Emboss.cpp:79
double half_bevel
Definition Emboss.cpp:82
References Slic3r::angle(), cos(), cos_angle, and half_bevel.
◆ cos_angle
| double priv::SpikeDesc::cos_angle |
◆ half_bevel
| double priv::SpikeDesc::half_bevel |
The documentation for this struct was generated from the following file: