Home
last modified time | relevance | path

Searched refs:Coord_type (Results 1 – 25 of 38) sorted by relevance

12

/dports/math/cgal/CGAL-5.3/include/CGAL/
H A DImage_3.h238 (const Coord_type&x,
239 const Coord_type&y,
240 const Coord_type&z,
248 typename Coord_type,
261 const Coord_type lx = static_cast<Coord_type>(x / image()->vx); in trilinear_interpolation()
262 const Coord_type ly = static_cast<Coord_type>(y / image()->vy); in trilinear_interpolation()
263 const Coord_type lz = static_cast<Coord_type>(z / image()->vz); in trilinear_interpolation()
274 lx >= Coord_type(dimx-1)) in trilinear_interpolation()
444 (const Coord_type& x, in labellized_trilinear_interpolation()
445 const Coord_type& y, in labellized_trilinear_interpolation()
[all …]
H A Dnatural_neighbor_coordinates_3.h80 typedef typename Gt::FT Coord_type; typedef
96 return make_triple(nn_out, Coord_type(1), false);
110 std::map<Vertex_handle,Coord_type> coordinate;
157 Coord_type co = coor_it->second /
182 typedef typename Gt::FT Coord_type; typedef
198 return make_triple(nn_out, Coord_type(1), false);
211 std::map<Vertex_handle,Coord_type> coordinate;
311 typedef typename Gt::FT Coord_type; in is_correct_natural_neighborhood() typedef
312 Coord_type sum_x(0); in is_correct_natural_neighborhood()
313 Coord_type sum_y(0); in is_correct_natural_neighborhood()
[all …]
H A Dnatural_neighbor_coordinates_2.h65 typedef typename Traits::FT Coord_type; typedef
81 return make_triple(out, Coord_type(1), false);
92 Coord_type coef1(0);
101 *out++ = std::make_pair(v2, Coord_type(1));
102 return make_triple(out, Coord_type(1), true);
105 Coord_type coef2 = 1 - coef1;
108 *out++ = std::make_pair(v1, Coord_type(1));
109 return make_triple(out, Coord_type(1), true);
121 return make_triple(out, Coord_type(1), true);
153 Coord_type area_sum(0); in natural_neighbors_2()
[all …]
H A Dinterpolation_functions.h149 typedef typename Traits::FT Coord_type; in sibson_c1_interpolation() typedef
155 Coord_type term1(0), term2(term1), term3(term1), term4(term1); in sibson_c1_interpolation()
169 Coord_type coeff = first->second/norm; in sibson_c1_interpolation()
171 Coord_type dist = CGAL_NTS sqrt(squared_dist); in sibson_c1_interpolation()
232 typedef typename Traits::FT Coord_type; in sibson_c1_interpolation_square() typedef
238 Coord_type term1(0), term2(term1), term3(term1), term4(term1); in sibson_c1_interpolation_square()
252 Coord_type coeff = first->second/norm; in sibson_c1_interpolation_square()
326 const Coord_type fac3(3); in farin_c1_interpolation()
333 Coord_type coord_i_square = CGAL_NTS square(it->second); in farin_c1_interpolation()
383 result += (Coord_type(2.0)*(ordinates[i][i]+ ordinates[j][j]+ in farin_c1_interpolation()
[all …]
H A DVoronoi_intersection_2_traits_3.h149 typedef typename K::FT Coord_type; typedef
157 if(normal.x() != Coord_type(0)) in operator()
159 sign(Vector(normal.y(), -normal.x(), Coord_type(0))*(p-q)); in operator()
160 if(normal.y() != Coord_type(0)) in operator()
164 CGAL_assertion(normal.z() != Coord_type(0)); in operator()
166 sign(Vector(-normal.z(), Coord_type(0), normal.x())*(p-q)); in operator()
179 typedef typename K::FT Coord_type; typedef
189 if(normal.x() != Coord_type(0)) in operator()
192 if(normal.y() != Coord_type(0)) in operator()
196 CGAL_assertion(normal.z() != Coord_type(0)); in operator()
[all …]
H A Dregular_neighbor_coordinates_2.h60 typedef typename Traits::FT Coord_type; in regular_neighbor_coordinates_vertex_2() typedef
72 return make_triple(out, Coord_type(0), true); in regular_neighbor_coordinates_vertex_2()
76 *out++ = std::make_pair((*hidden_vertices_begin), Coord_type(1)); in regular_neighbor_coordinates_vertex_2()
79 return make_triple(out, Coord_type(1), true); in regular_neighbor_coordinates_vertex_2()
83 Coord_type area_sum(0); in regular_neighbor_coordinates_vertex_2()
95 Coord_type area(0); in regular_neighbor_coordinates_vertex_2()
144 Coord_type area(0); in regular_neighbor_coordinates_vertex_2()
201 typedef typename Traits::FT Coord_type; in regular_neighbor_coordinates_vertex_2() typedef
217 return make_triple(out, Coord_type(1), false); in regular_neighbor_coordinates_vertex_2()
225 *out++ = std::make_pair(fh->vertex(li), Coord_type(1)); in regular_neighbor_coordinates_vertex_2()
[all …]
H A Dsibson_gradient_fitting.h57 typedef typename Traits::FT Coord_type; in sibson_gradient_fitting() typedef
68 Coord_type square_dist = traits.compute_squared_distance_d_object()(bare_f, bp); in sibson_gradient_fitting()
70 Coord_type scale = first->second / (norm * square_dist); in sibson_gradient_fitting()
183 typedef typename Traits::FT Coord_type; in sibson_gradient_fitting_internal() typedef
187 Coord_type norm; in sibson_gradient_fitting_internal()
188 std::vector<std::pair<ValueFunctorArgType, Coord_type> > coords; in sibson_gradient_fitting_internal()
H A Dsurface_neighbor_coordinates_3.h271 typedef typename ITraits::FT Coord_type; typedef
293 *out++= std::make_pair(c->vertex(li)->point(), Coord_type(1));
294 return make_triple(out, Coord_type(1), true);
/dports/math/cgal/CGAL-5.3/examples/Interpolation/
H A Dinterpolation_2.cpp62 Coord_type alpha = Coord_type(1.0), in main()
63 beta1 = Coord_type(2.0), in main()
64 beta2 = Coord_type(1.0), in main()
65 gamma1 = Coord_type(0.3), in main()
66 gamma2 = Coord_type(0.0), in main()
67 gamma3 = Coord_type(0.0), in main()
68 gamma4 = Coord_type(0.3); in main()
74 Coord_type x(points[j].x()); in main()
75 Coord_type y(points[j].y()); in main()
87 Coord_type error, l_total = Coord_type(0), in main()
[all …]
H A Dinterpolation_vertex_with_info_2.cpp76 Coord_type alpha = Coord_type(1.0), in main()
77 beta1 = Coord_type(2.0), in main()
78 beta2 = Coord_type(1.0), in main()
79 gamma1 = Coord_type(0.3), in main()
80 gamma2 = Coord_type(0.0), in main()
89 Coord_type x(points[j].x()); in main()
90 Coord_type y(points[j].y()); in main()
101 std::pair<Coord_type, bool> res; in main()
102 Coord_type error, l_total = Coord_type(0), in main()
113 Coord_type x(points[i].x()); in main()
[all …]
H A Dsibson_interpolation_rn_vertex_with_info_2.cpp21 typedef K::FT Coord_type; typedef
36 Value_and_gradient<Coord_type, Vector>, K,
47 auto value_function = [](const Vertex_handle& a) -> std::pair<Coord_type, bool> in main()
65 Coord_type a(0.25), bx(1.3), by(-0.7), c(0.2); in main()
70 Coord_type value = a + bx*x + by*y + c*(x*x+y*y); in main()
83 std::vector<std::pair<Vertex_handle, Coord_type> > coords; in main()
84 typedef CGAL::Identity<std::pair<Vertex_handle, Coord_type> > Identity; in main()
85 Coord_type norm = CGAL::regular_neighbor_coordinates_2(rt, in main()
91 std::pair<Coord_type, bool> res = CGAL::sibson_c1_interpolation_square(coords.begin(), in main()
H A Dsibson_interpolation_vertex_with_info_2.cpp20 typedef K::FT Coord_type; typedef
34 Value_and_gradient<Coord_type, Vector>, K> Vb;
78 Value_function<Vertex_handle, Coord_type> value_function; in main()
82 Coord_type a(0.25), bx(1.3), by(-0.7), c(0.2); in main()
87 Coord_type value = a + bx* x+ by*y + c*(x*x+y*y); in main()
100 std::vector<std::pair<Vertex_handle, Coord_type> > coords; in main()
101 typedef CGAL::Identity<std::pair<Vertex_handle, Coord_type> > Identity; in main()
102 Coord_type norm = CGAL::natural_neighbor_coordinates_2(dt, in main()
108 std::pair<Coord_type, bool> res = CGAL::sibson_c1_interpolation_square(coords.begin(), in main()
H A Dlinear_interpolation_2.cpp11 typedef K::FT Coord_type; typedef
18 typedef std::map<Point, Coord_type, K::Less_xy_2> Coord_map; in main()
22 Coord_type a(0.25), bx(1.3), by(-0.7); in main()
34 std::vector<std::pair<Point, Coord_type> > coords; in main()
36 Coord_type norm = CGAL::natural_neighbor_coordinates_2(T, p, std::back_inserter(coords)).second; in main()
37 Coord_type res = CGAL::linear_interpolation(coords.begin(), coords.end(), norm, in main()
H A Dsibson_interpolation_2.cpp19 typedef K::FT Coord_type; typedef
21 typedef std::map<Point, Coord_type, K::Less_xy_2> Point_value_map ;
32 Coord_type a(0.25), bx(1.3), by(-0.7), c(0.2); in main()
52 std::vector< std::pair< Point, Coord_type > > coords; in main()
53 Coord_type norm = CGAL::natural_neighbor_coordinates_2(T, p, std::back_inserter(coords)).second; in main()
57 std::pair<Coord_type, bool> res = in main()
H A Dsibson_interpolation_rn_2.cpp20 typedef K::FT Coord_type; typedef
30 typedef std::map<Point, Coord_type, Less> Point_value_map ;
41 Coord_type a(0.25), bx(1.3), by(-0.7), c(0.2); in main()
61 std::vector<std::pair<Point, Coord_type> > coords; in main()
62 Coord_type norm = CGAL::regular_neighbor_coordinates_2(T, p, std::back_inserter(coords)).second; in main()
65 std::pair<Coord_type, bool> res = CGAL::sibson_c1_interpolation_square(coords.begin(), in main()
H A Dnn_coordinates_with_info_2.cpp14 typedef K::FT Coord_type; typedef
15 typedef CGAL::Triangulation_vertex_base_with_info_2<Coord_type, K> Vb;
21 typedef CGAL::Identity<std::pair<Vertex_handle, Coord_type> > Identity;
24 typedef std::vector<std::pair<Vertex_handle, Coord_type> > Point_coordinate_vector;
H A Dnn_coordinates_2.cpp13 typedef K::FT Coord_type; typedef
18 typedef std::vector<std::pair<Point, Coord_type> > Point_coordinate_vector;
H A Dsurface_neighbor_coordinates_3.cpp16 typedef K::FT Coord_type; typedef
51 for(const std::pair< Point_3, Coord_type >& pc : coords) in main()
/dports/math/cgal/CGAL-5.3/demo/Interpolation/
H A Dsurface_voronoi.cpp57 typedef K::FT Coord_type; typedef
128 CGAL::Creator_uniform_2<Coord_type,Point_2>()); in generate_cube_points()
179 transform = Transformation(Coord_type(1),Coord_type(0),Coord_type(0), in main()
180 Coord_type(0), in main()
181 Coord_type(0),Coord_type(0.9063), in main()
182 Coord_type(-0.42261826),Coord_type(0), in main()
183 Coord_type(0),Coord_type(0.42261826), in main()
184 Coord_type(0.9063),Coord_type(0)); in main()
H A Dinterpolation_2_demo.cpp55 typedef K::FT Coord_type; typedef
64 typedef std::map<Point_2, Coord_type, K::Less_xy_2> Point_value_map ;
136 Coord_type w(4); in main()
159 values.insert(std::make_pair(sample[j], Coord_type(0))); in main()
206 std::pair<Coord_type, bool> interpolation_result; in main()
207 Coord_type value = 0; // initialization to remove compiler warning in main()
/dports/math/cgal/CGAL-5.3/demo/Alpha_shapes_3/
H A Dtypedefs.h59 typedef Alpha_shape_3::Coord_type Coord_type; typedef
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/
H A Ditem_geofunc_relchecks_bgwrap.h65 typedef typename Geom_types::Coordinate_type Coord_type; typedef
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/Plugins/Point_set/
H A DAlpha_shape_plugin.cpp68 typedef Alpha_shape_3::Coord_type Coord_type; typedef
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/
H A Ditem_geofunc_relchecks_bgwrap.h49 typedef typename Geom_types::Coordinate_type Coord_type; typedef
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/
H A Ditem_geofunc_relchecks_bgwrap.h49 typedef typename Geom_types::Coordinate_type Coord_type; typedef

12