Home
last modified time | relevance | path

Searched refs:v_prev (Results 1 – 25 of 161) sorted by relevance

1234567

/dports/science/afni/afni-AFNI_21.3.16/src/
H A D3dECM.c271 if( v_prev != NULL ) free(v_prev); in calc_fecm_power()
290 v_prev_sum_sq += v_prev[lout] * v_prev[lout]; in calc_fecm_power()
413 return(v_prev); in calc_fecm_power()
479 v_prev_sum_sq += v_prev[ii] * v_prev[ii]; in calc_full_power_sparse()
492 if( v_prev != NULL ) free(v_prev); in calc_full_power_sparse()
619 return(v_prev); in calc_full_power_sparse()
679 if( v_prev != NULL ){ free(v_prev); v_prev=NULL;} in calc_full_power_max_mem()
703 v_prev_sum_sq += v_prev[ii] * v_prev[ii]; in calc_full_power_max_mem()
732 if( v_prev != NULL ) free(v_prev); in calc_full_power_max_mem()
1032 return(v_prev); in calc_full_power_max_mem()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/
H A Dmath_vec.cc133 const double3 *v_prev = &poly[nv - 1]; in cross_poly() local
137 n[0] = n[0] + ((*v_prev)[1] - (*v_curr)[1]) * ((*v_prev)[2] + (*v_curr)[2]); in cross_poly()
138 n[1] = n[1] + ((*v_prev)[2] - (*v_curr)[2]) * ((*v_prev)[0] + (*v_curr)[0]); in cross_poly()
139 n[2] = n[2] + ((*v_prev)[0] - (*v_curr)[0]) * ((*v_prev)[1] + (*v_curr)[1]); in cross_poly()
140 v_prev = v_curr; in cross_poly()
157 const mpq3 *v_prev = &poly[nv - 1]; in cross_poly() local
161 n[0] = n[0] + ((*v_prev)[1] - (*v_curr)[1]) * ((*v_prev)[2] + (*v_curr)[2]); in cross_poly()
162 n[1] = n[1] + ((*v_prev)[2] - (*v_curr)[2]) * ((*v_prev)[0] + (*v_curr)[0]); in cross_poly()
163 n[2] = n[2] + ((*v_prev)[0] - (*v_curr)[0]) * ((*v_prev)[1] + (*v_curr)[1]); in cross_poly()
164 v_prev = v_curr; in cross_poly()
H A Dscanfill_utils.c148 ScanFillVert *v_prev, in edge_step() argument
154 BLI_assert(ELEM(v_prev, e_curr->v1, e_curr->v2)); in edge_step()
160 (v_prev == eed->v1 || v_prev == eed->v2) == false) { in edge_step()
167 (v_prev == eed->v1 || v_prev == eed->v2) == false) { in edge_step()
304 ScanFillVert *v_prev; in scanfill_preprocess_self_isect() local
315 v_prev = e_curr->v1; in scanfill_preprocess_self_isect()
339 v_prev = e_curr->v1; in scanfill_preprocess_self_isect()
362 v_prev = v_curr; in scanfill_preprocess_self_isect()
366 e_next = edge_step(poly_info, poly_nr, v_prev, v_curr, e_curr); in scanfill_preprocess_self_isect()
/dports/astro/kstars/kstars-3.5.6/kstars/libtess/src/
H A Dtessellate.c26 Vertex *v_prev; member
45 result->v_prev = NULL; in new_tess_context()
47 result->v_prev = NULL; in new_tess_context()
48 result->v_prev = NULL; in new_tess_context()
100 if (ctx->v_prev == NULL) in fan_vertex()
102 ctx->v_prev = v; in fan_vertex()
106 ctx->v_prev = v; in fan_vertex()
111 if (ctx->v_prev == NULL) in strip_vertex()
113 ctx->v_prev = v; in strip_vertex()
142 if (ctx->v_prev == NULL) in triangle_vertex()
[all …]
/dports/astro/kstars/kstars-3.5.6/kstars/libtess/
H A Dtessellate.c27 Vertex *v_prev; member
46 result->v_prev = NULL; in new_tess_context()
48 result->v_prev = NULL; in new_tess_context()
49 result->v_prev = NULL; in new_tess_context()
101 if (ctx->v_prev == NULL) in fan_vertex()
103 ctx->v_prev = v; in fan_vertex()
107 ctx->v_prev = v; in fan_vertex()
112 if (ctx->v_prev == NULL) in strip_vertex()
114 ctx->v_prev = v; in strip_vertex()
143 if (ctx->v_prev == NULL) in triangle_vertex()
[all …]
/dports/databases/sfcgal/SFCGAL-815d5097f684dbc48b22041bf2047beab36df0a1/src/triangulate/
H A DtriangulatePolygon.cpp183 Vertex_handle v_prev = cdt.addVertex( ring.pointN( 0 ).coordinate() ); in triangulatePolygon3D() local
184 Vertex_handle v_0 = v_prev; in triangulatePolygon3D()
188 cdt.addConstraint( v_prev, vh ); in triangulatePolygon3D()
189 v_prev = vh; in triangulatePolygon3D()
192 cdt.addConstraint( v_prev, v_0 ); in triangulatePolygon3D()
/dports/graphics/blender/blender-2.91.0/release/scripts/startup/bl_operators/
H A Dadd_mesh_torus.py104 v_prev = v_init
105 v_next = v_prev + v_step
108 uv_data[loops[0]].uv = u_prev, v_prev
109 uv_data[loops[1]].uv = u_next, v_prev
114 v_prev = v_next - 1.0
116 v_prev = v_next
117 v_next = v_prev + v_step
/dports/graphics/blender/blender-2.91.0/source/blender/bmesh/intern/
H A Dbmesh_edgeloop.c64 if (v_other != v_prev) { in bm_vert_other_tag()
99 count = bm_vert_other_tag(v, v_prev, &e_next); in bm_loop_build()
117 v_prev = v; in bm_loop_build()
595 const float *v_prev = NODE_AS_CO(node_prev); in BM_edgeloop_calc_center() local
604 w_prev = len_v3v3(v_prev, v_curr); in BM_edgeloop_calc_center()
619 v_prev = v_curr; in BM_edgeloop_calc_center()
632 const float *v_prev = NODE_AS_CO(el_store->verts.last); in BM_edgeloop_calc_normal() local
642 v_prev = v_curr; in BM_edgeloop_calc_normal()
668 const float *v_prev = NODE_AS_CO(el_store->verts.last); in BM_edgeloop_calc_normal_aligned() local
676 sub_v3_v3v3(dir, v_curr, v_prev); in BM_edgeloop_calc_normal_aligned()
[all …]
H A Dbmesh_query.c104 if (l_iter->prev->v == v_prev) { in BM_face_other_vert_loop()
107 if (l_iter->next->v == v_prev) { in BM_face_other_vert_loop()
143 if (l->prev->v == v_prev) { in BM_loop_other_vert_loop()
146 BLI_assert(l->next->v == v_prev); in BM_loop_other_vert_loop()
150 BLI_assert(l->v == v_prev); in BM_loop_other_vert_loop()
1659 float v_prev[3]; in BM_loop_calc_face_direction() local
1665 normalize_v3(v_prev); in BM_loop_calc_face_direction()
1668 add_v3_v3v3(r_dir, v_prev, v_next); in BM_loop_calc_face_direction()
1683 float v_prev[3]; in BM_loop_calc_face_tangent() local
1690 normalize_v3(v_prev); in BM_loop_calc_face_tangent()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/src/step/krylov/
H A DROL_MINRES.hpp120 auto v_prev = clones_( x, "v_prev" ); v_prev->zero(); in run() local
148 if( iter>0 ) v_next->axpy(-H_[1],*v_prev); in run()
185 v_prev->set( *v_curr ); in run()
/dports/graphics/blender/blender-2.91.0/source/blender/bmesh/operators/
H A Dbmo_create.c257 BMVert *v_prev = NULL; in bmo_contextual_create_exec() local
263 if (v_prev) { in bmo_contextual_create_exec()
264 BMEdge *e = BM_edge_create(bm, v, v_prev, NULL, BM_CREATE_NO_DOUBLE); in bmo_contextual_create_exec()
267 v_prev = v; in bmo_contextual_create_exec()
/dports/cad/horizon-eda/horizon-2.1.0/src/core/tools/
H A Dtool_round_off_vertex.cpp38 auto v_prev = wrap_index(vertex_idx - 1); in begin() local
41 || (poly->vertices.at(v_prev).type == Polygon::Vertex::Type::ARC)) { in begin()
50 vp = (Coordd(poly->vertices.at(v_prev).position) - p0).normalize(); in begin()
54 … (poly->vertices.at(v_prev).position - poly->vertices.at(vertex_idx).position).magd()); in begin()
/dports/graphics/blender/blender-2.91.0/release/scripts/modules/bpy_extras/
H A Dmesh_utils.py332 v_prev = verts[0]
333 context_loop = [v_prev]
337 if v != v_prev:
339 if ed_key_mlen(v, v_prev) in edges_doubles:
348 v_prev = v
/dports/graphics/blender/blender-2.91.0/source/blender/editors/mesh/
H A Deditmesh_rip.c323 static BMEdge *edbm_ripsel_edge_uid_step(BMEdge *e_orig, BMVert **v_prev) in edbm_ripsel_edge_uid_step() argument
327 BMVert *v = BM_edge_other_vert(e_orig, *v_prev); in edbm_ripsel_edge_uid_step()
332 *v_prev = v; in edbm_ripsel_edge_uid_step()
356 BMVert *v_prev; in edbm_ripsel_deselect_helper() local
362 v_prev = edbm_ripsel_edloop_pair_start_vert(e); in edbm_ripsel_deselect_helper()
363 for (; e; e = edbm_ripsel_edge_uid_step(e, &v_prev)) { in edbm_ripsel_deselect_helper()
367 v_prev = edbm_ripsel_edloop_pair_start_vert(e); in edbm_ripsel_deselect_helper()
368 for (; e; e = edbm_ripsel_edge_uid_step(e, &v_prev)) { in edbm_ripsel_deselect_helper()
373 v_prev = edbm_ripsel_edloop_pair_start_vert(e); in edbm_ripsel_deselect_helper()
374 for (; e; e = edbm_ripsel_edge_uid_step(e, &v_prev)) { in edbm_ripsel_deselect_helper()
/dports/databases/sfcgal/SFCGAL-815d5097f684dbc48b22041bf2047beab36df0a1/example/CGAL-polygon_triangulation2/
H A Dmain.cpp117 CDT::Vertex_handle v_prev = cdt.insert( *CGAL::cpp0x::prev( polygon.vertices_end() ) ); in insert_polygon() local
120 cdt.insert_constraint(vh, v_prev); in insert_polygon()
121 v_prev = vh; in insert_polygon()
/dports/games/supertux2/SuperTux-v0.6.3-Source/external/SDL_ttf/external/freetype-2.4.12/src/base/
H A Dftoutln.c905 FT_Vector v_prev, v_first, v_next, v_cur; in FT_Outline_EmboldenXY() local
938 v_prev = points[last]; in FT_Outline_EmboldenXY()
942 in.x = v_cur.x - v_prev.x; in FT_Outline_EmboldenXY()
943 in.y = v_cur.y - v_prev.y; in FT_Outline_EmboldenXY()
1030 FT_Vector v_prev, v_cur; in FT_Outline_Get_Orientation() local
1059 v_prev = points[last]; in FT_Outline_Get_Orientation()
1064 area += ( ( v_cur.y - v_prev.y ) >> yshift ) * in FT_Outline_Get_Orientation()
1065 ( ( v_cur.x + v_prev.x ) >> xshift ); in FT_Outline_Get_Orientation()
1066 v_prev = v_cur; in FT_Outline_Get_Orientation()
/dports/devel/upp/upp/bazaar/FreeType/src/base/
H A Dftoutln.c908 FT_Vector v_prev, v_first, v_next, v_cur; in FT_Outline_EmboldenXY() local
941 v_prev = points[last]; in FT_Outline_EmboldenXY()
945 in.x = v_cur.x - v_prev.x; in FT_Outline_EmboldenXY()
946 in.y = v_cur.y - v_prev.y; in FT_Outline_EmboldenXY()
1033 FT_Vector v_prev, v_cur; in FT_Outline_Get_Orientation() local
1062 v_prev = points[last]; in FT_Outline_Get_Orientation()
1067 area += ( ( v_cur.y - v_prev.y ) >> yshift ) * in FT_Outline_Get_Orientation()
1068 ( ( v_cur.x + v_prev.x ) >> xshift ); in FT_Outline_Get_Orientation()
1069 v_prev = v_cur; in FT_Outline_Get_Orientation()
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/extern/freetype2/src/base/
H A Dftoutln.hpp917 FT_Vector v_prev, v_first, v_next, v_cur; in FT_Outline_EmboldenXY() local
950 v_prev = points[last]; in FT_Outline_EmboldenXY()
954 in.x = v_cur.x - v_prev.x; in FT_Outline_EmboldenXY()
955 in.y = v_cur.y - v_prev.y; in FT_Outline_EmboldenXY()
1042 FT_Vector v_prev, v_cur; in FT_Outline_Get_Orientation() local
1075 v_prev = points[last]; in FT_Outline_Get_Orientation()
1080 area += ( ( v_cur.y - v_prev.y ) >> yshift ) * in FT_Outline_Get_Orientation()
1081 ( ( v_cur.x + v_prev.x ) >> xshift ); in FT_Outline_Get_Orientation()
1082 v_prev = v_cur; in FT_Outline_Get_Orientation()
/dports/print/tex-xdvik/xdvik-22.87/libs/freetype2/freetype-2.5.3/src/base/
H A Dftoutln.c908 FT_Vector v_prev, v_first, v_next, v_cur; in FT_Outline_EmboldenXY() local
941 v_prev = points[last]; in FT_Outline_EmboldenXY()
945 in.x = v_cur.x - v_prev.x; in FT_Outline_EmboldenXY()
946 in.y = v_cur.y - v_prev.y; in FT_Outline_EmboldenXY()
1033 FT_Vector v_prev, v_cur; in FT_Outline_Get_Orientation() local
1062 v_prev = points[last]; in FT_Outline_Get_Orientation()
1067 area += ( ( v_cur.y - v_prev.y ) >> yshift ) * in FT_Outline_Get_Orientation()
1068 ( ( v_cur.x + v_prev.x ) >> xshift ); in FT_Outline_Get_Orientation()
1069 v_prev = v_cur; in FT_Outline_Get_Orientation()
/dports/x11/xscreensaver/xscreensaver-5.44/jwxyz/
H A Djwxyz-image.c223 short v[2] = {0, 0}, v_prev[2] = {0, 0}; in DrawLines() local
228 draw_line (d, pixel, v_prev[0], v_prev[1], v[0], v[1]); in DrawLines()
229 v_prev[0] = v[0]; in DrawLines()
230 v_prev[1] = v[1]; in DrawLines()
/dports/graphics/blender/blender-2.91.0/source/blender/bmesh/tools/
H A Dbmesh_intersect.c1180 BMVert *v_prev; in BM_mesh_intersect() local
1207 v_prev = v_start; in BM_mesh_intersect()
1213 if (BM_vert_in_edge(e, v_prev)) { in BM_mesh_intersect()
1215 v_prev = BM_edge_split(bm, e, v_prev, &e_split, clamp_f(fac, 0.0f, 1.0f)); in BM_mesh_intersect()
1218 if (!BM_edge_exists(v_prev, vi) && !BM_vert_splice_check_double(v_prev, vi) && in BM_mesh_intersect()
1219 !BM_vert_pair_share_face_check(v_prev, vi)) { in BM_mesh_intersect()
1220 BM_vert_splice(bm, vi, v_prev); in BM_mesh_intersect()
1223 copy_v3_v3(v_prev->co, vi->co); in BM_mesh_intersect()
1225 v_prev = vi; in BM_mesh_intersect()
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/src/
H A Dapprox.cpp420 contour->v_prev = parent; in cvApproxChains()
451 src_seq = src_seq->v_prev; in cvApproxChains()
456 parent = parent->v_prev; in cvApproxChains()
823 contour->v_prev = parent; in cvApproxPoly()
848 src_seq = src_seq->v_prev; in cvApproxPoly()
853 parent = parent->v_prev; in cvApproxPoly()
/dports/multimedia/mlt7-qt5/mlt-7.0.1/src/modules/core/
H A Dtransition_mix.c99 double v_prev[MAX_CHANNELS]; in combine_audio() local
102 v_prev[j] = (double) buffer_a[j]; in combine_audio()
111 v_prev[j] = buffer_a[ i * channels_a + j ] = v * A + v_prev[j] * B; in combine_audio()
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/modules/core/
H A Dtransition_mix.c99 double v_prev[MAX_CHANNELS]; in combine_audio() local
102 v_prev[j] = (double) buffer_a[j]; in combine_audio()
111 v_prev[j] = buffer_a[ i * channels_a + j ] = v * A + v_prev[j] * B; in combine_audio()
/dports/multimedia/mlt7/mlt-7.0.1/src/modules/core/
H A Dtransition_mix.c99 double v_prev[MAX_CHANNELS]; in combine_audio() local
102 v_prev[j] = (double) buffer_a[j]; in combine_audio()
111 v_prev[j] = buffer_a[ i * channels_a + j ] = v * A + v_prev[j] * B; in combine_audio()

1234567