Home
last modified time | relevance | path

Searched refs:r_pt (Results 1 – 16 of 16) sorted by relevance

/dports/graphics/py-pyx/PyX-0.15/pyx/
H A Dpath.py80 x0_pt, y0_pt = x_pt+r_pt*cos(phi1), y_pt+r_pt*sin(phi1)
81 x3_pt, y3_pt = x_pt+r_pt*cos(phi2), y_pt+r_pt*sin(phi2)
120 return x_pt+r_pt*cos(radians(angle)), y_pt+r_pt*sin(radians(angle))
145 minarcx_pt = x_pt-r_pt
153 minarcy_pt = y_pt-r_pt
161 maxarcx_pt = x_pt+r_pt
169 maxarcy_pt = y_pt+r_pt
606 self.r_pt = r_pt
682 data.append("A%g %g 0 %s 0 %g %g" % (self.r_pt, self.r_pt, large, x_pt, y_pt))
700 self.r_pt = r_pt
[all …]
/dports/math/snns/SNNSv4.3/kernel/sources/
H A Dmatrix.h34 float **r_pt; /* array of references to rows */ member
140 #define RbfMatrixSetValue(m, r, c, v) ((m)->r_pt)[r][c] = v
147 #define RbfMatrixGetValue(m, r, c) (((m) -> r_pt)[r][c])
H A Dmatrix.c49 m -> r_pt = (float **) malloc(r * sizeof(float *)); in RbfAllocMatrix()
51 m -> r_pt == (float **) NULL) in RbfAllocMatrix()
63 (m -> r_pt)[i] = &(m -> field)[i * c]; in RbfAllocMatrix()
77 free(m -> r_pt); in RbfFreeMatrix()
H A Dmatrix.ph35 float **r_pt; /* array of references to rows */
/dports/graphics/colmap/colmap-3.6/lib/VLFeat/
H A Dikmeans_elkan.tc73 char *r_pt = vl_malloc(sizeof(*r_pt) * 1 * N) ; /* flag: u is strict */
88 memset(r_pt, 0, sizeof(*r_pt) * N) ;
194 r_pt[x] = 1 ;
258 if( r_pt[x] ) {
265 r_pt[x] = 0 ;
286 /* r_pt[x] already 0 */
303 vl_free (r_pt) ;
/dports/graphics/blender/blender-2.91.0/source/blender/editors/gizmo_library/gizmo_types/
H A Dcage2d_gizmo.c108 static void gizmo_rect_pivot_from_scale_part(int part, float r_pt[2], bool r_constrain_axis[2]) in gizmo_rect_pivot_from_scale_part()
113 ARRAY_SET_ITEMS(r_pt, 0.5, 0.0); in gizmo_rect_pivot_from_scale_part()
118 ARRAY_SET_ITEMS(r_pt, -0.5, 0.0); in gizmo_rect_pivot_from_scale_part()
123 ARRAY_SET_ITEMS(r_pt, 0.0, 0.5); in gizmo_rect_pivot_from_scale_part()
128 ARRAY_SET_ITEMS(r_pt, 0.0, -0.5); in gizmo_rect_pivot_from_scale_part()
133 ARRAY_SET_ITEMS(r_pt, 0.5, 0.5); in gizmo_rect_pivot_from_scale_part()
138 ARRAY_SET_ITEMS(r_pt, 0.5, -0.5); in gizmo_rect_pivot_from_scale_part()
143 ARRAY_SET_ITEMS(r_pt, -0.5, 0.5); in gizmo_rect_pivot_from_scale_part()
148 ARRAY_SET_ITEMS(r_pt, -0.5, -0.5); in gizmo_rect_pivot_from_scale_part()
H A Dcage3d_gizmo.c107 static void gizmo_rect_pivot_from_scale_part(int part, float r_pt[3], bool r_constrain_axis[3]) in gizmo_rect_pivot_from_scale_part()
121 r_pt[i] = sign[range[i]]; in gizmo_rect_pivot_from_scale_part()
/dports/misc/vxl/vxl-3.3.2/core/vgl/algo/tests/
H A Dtest_rotation_3d.cxx112 vgl_point_3d<double> r_pt = rot * pt; in test_application() local
116 TEST_NEAR("Rotated point-plane dist", vgl_distance(pt, pl), vgl_distance(r_pt, r_pl), epsilon); in test_application()
120 vgl_vector_3d<double> r_v2 = vgl_point_3d<double>(r_hpt) - r_pt; in test_application()
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/
H A DBLI_rand.h62 float r_pt[2]) ATTR_NONNULL();
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/
H A Drand.cc139 RNG *rng, const float v1[2], const float v2[2], const float v3[2], float r_pt[2]) in BLI_rng_get_tri_sample_float_v2()
141 copy_v2_v2(r_pt, rng->rng.get_triangle_sample(v1, v2, v3)); in BLI_rng_get_tri_sample_float_v2()
/dports/editors/libreoffice/libreoffice-7.2.6.2/hwpfilter/source/
H A Dhwpreader.cxx4006 ZZPoint pt[3], r_pt[3]; in makePictureDRAW() local
4028r_pt[i].x = static_cast<int>(pt[i].x * cos(-rotate) - pt[i].y * sin(-rotate)); in makePictureDRAW()
4029r_pt[i].y = static_cast<int>(pt[i].y * cos(-rotate) + pt[i].x * sin(-rotate)); in makePictureDRAW()
4033 if( r_pt[2].y == r_pt[1].y ) in makePictureDRAW()
4036 … skewX = atan(static_cast<double>(r_pt[2].x - r_pt[1].x )/( r_pt[2].y - r_pt[1].y )); in makePictureDRAW()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/hwpfilter/source/
H A Dhwpreader.cxx4034 ZZPoint pt[3], r_pt[3]; in makePictureDRAW() local
4056r_pt[i].x = static_cast<int>(pt[i].x * cos(-rotate) - pt[i].y * sin(-rotate)); in makePictureDRAW()
4057r_pt[i].y = static_cast<int>(pt[i].y * cos(-rotate) + pt[i].x * sin(-rotate)); in makePictureDRAW()
4061 if( r_pt[2].y == r_pt[1].y ) in makePictureDRAW()
4064 … skewX = atan(static_cast<double>(r_pt[2].x - r_pt[1].x )/( r_pt[2].y - r_pt[1].y )); in makePictureDRAW()
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dmask.c1900 float r_pt[2], in interp_weights_uv_v2_apply()
1907 madd_v2_v2v2fl(r_pt, pt_a, dvec, uv[0]); in interp_weights_uv_v2_apply()
1910 r_pt[0] += -dvec[1] * uv[1]; in interp_weights_uv_v2_apply()
1911 r_pt[1] += dvec[0] * uv[1]; in interp_weights_uv_v2_apply()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/gpencil/
H A Dgpencil_intern.h294 bGPDspoint *r_pt);
H A Dgpencil_utils.c654 bGPDspoint *r_pt) in gpencil_point_to_parent_space() argument
659 copy_v3_v3(&r_pt->x, fpt); in gpencil_point_to_parent_space()
/dports/math/py-sympy/sympy-1.9/doc/src/modules/physics/mechanics/
H A Dautolev_parser.rst109 particle_r=me.Particle('r', me.Point('r_pt'), sm.Symbol('m'))