mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 04:40:39 +08:00
Fixed one more double "template template"
This commit is contained in:
parent
9319a6152f
commit
5111a3d4cf
@ -41,7 +41,7 @@ Eigen::Matrix<typename Derived::Scalar, 2, 1, Eigen::DontAlign> circle_center(co
|
|||||||
// Circumcenter coordinates, Cartesian coordinates
|
// Circumcenter coordinates, Cartesian coordinates
|
||||||
// Returns no value if the three points are collinear.
|
// Returns no value if the three points are collinear.
|
||||||
template<typename Derived, typename Derived2, typename Derived3>
|
template<typename Derived, typename Derived2, typename Derived3>
|
||||||
std::optional<Eigen::Matrix<typename Derived::Scalar, 2, 1, Eigen::DontAlign>> try_circle_center(const Derived &a, const Derived2 &bsrc, const Derived3 &csrc, typename typename Derived::Scalar epsilon)
|
std::optional<Eigen::Matrix<typename Derived::Scalar, 2, 1, Eigen::DontAlign>> try_circle_center(const Derived &a, const Derived2 &bsrc, const Derived3 &csrc, typename Derived::Scalar epsilon)
|
||||||
{
|
{
|
||||||
static_assert(Derived ::IsVectorAtCompileTime && int(Derived ::SizeAtCompileTime) == 2, "try_circle_center(): 1st point is not a 2D vector");
|
static_assert(Derived ::IsVectorAtCompileTime && int(Derived ::SizeAtCompileTime) == 2, "try_circle_center(): 1st point is not a 2D vector");
|
||||||
static_assert(Derived2::IsVectorAtCompileTime && int(Derived2::SizeAtCompileTime) == 2, "try_circle_center(): 2nd point is not a 2D vector");
|
static_assert(Derived2::IsVectorAtCompileTime && int(Derived2::SizeAtCompileTime) == 2, "try_circle_center(): 2nd point is not a 2D vector");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user