libigl v2.5.0
Loading...
Searching...
No Matches
assign_scalar.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com>
4// Copyright (C) 2021 Alec Jacobson <alecjacobson@gmail.com>
5//
6// This Source Code Form is subject to the terms of the Mozilla Public License
7// v. 2.0. If a copy of the MPL was not distributed with this file, You can
8// obtain one at http://mozilla.org/MPL/2.0/.
9#ifndef IGL_COPYLEFT_CGAL_ASSIGN_SCALAR_H
10#define IGL_COPYLEFT_CGAL_ASSIGN_SCALAR_H
11#include "../../igl_inline.h"
12#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
13#include <CGAL/Exact_predicates_exact_constructions_kernel_with_sqrt.h>
14
15namespace igl
16{
17 namespace copyleft
18 {
19 namespace cgal
20 {
39 template <typename RHS, typename LHS>
41 const RHS & rhs,
42 const bool & slow_and_more_precise,
43 LHS & lhs);
50 const CGAL::Epeck::FT & cgal,
51 CGAL::Epeck::FT & d);
54 const CGAL::Epeck::FT & cgal,
55 double & d);
59 const CGAL::Epeck::FT & cgal,
60 float& d);
63 const double & c,
64 double & d);
67 const float& c,
68 float & d);
71 const float& c,
72 double& d);
75 const CGAL::Exact_predicates_exact_constructions_kernel_with_sqrt::FT & cgal,
76 CGAL::Exact_predicates_exact_constructions_kernel_with_sqrt::FT & d);
79 const CGAL::Exact_predicates_exact_constructions_kernel_with_sqrt::FT & cgal,
80 double & d);
83 const CGAL::Exact_predicates_exact_constructions_kernel_with_sqrt::FT & cgal,
84 float& d);
85 }
86 }
87}
88
89#ifndef IGL_STATIC_LIBRARY
90# include "assign_scalar.cpp"
91#endif
92#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition assign.h:19
void assign_scalar(const RHS &rhs, const bool &slow_and_more_precise, LHS &lhs)
Conduct the casting copy: lhs = rhs using slow_and_more_precise rounding if more desired.
Definition assign.h:17
Definition AABB.h:18