Home
last modified time | relevance | path

Searched refs:axis_dir (Results 1 – 25 of 28) sorted by relevance

12

/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/sample_consensus/include/pcl/sample_consensus/impl/
H A Dsac_model_cone.hpp111 axis_dir.normalize (); in computeModelCoefficients()
119 … opening_angle = ( std::acos (ap1.dot (axis_dir)) + std::acos (ap2.dot (axis_dir)) + std::acos (ap… in computeModelCoefficients()
127 model_coefficients[3] = axis_dir[0]; in computeModelCoefficients()
128 model_coefficients[4] = axis_dir[1]; in computeModelCoefficients()
129 model_coefficients[5] = axis_dir[2]; in computeModelCoefficients()
162 float apexdotdir = apex.dot (axis_dir); in getDistancesToModel()
163 float dirdotdir = 1.0f / axis_dir.dot (axis_dir); in getDistancesToModel()
220 float dirdotdir = 1.0f / axis_dir.dot (axis_dir); in selectWithinDistance()
281 float dirdotdir = 1.0f / axis_dir.dot (axis_dir); in countWithinDistance()
378 float dirdotdir = 1.0f / axis_dir.dot (axis_dir); in projectPoints()
[all …]
/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/src/
H A Ds1021.c56 double axis_dir[], double height, SISLSurf **cyl, int *stat) in s1021() argument
58 void s1021(bottom_pos, bottom_axis, ellipse_ratio, axis_dir, in s1021()
63 double axis_dir[];
106 s1022(bottom_pos, bottom_axis, ellipse_ratio, axis_dir,
H A Ds1012.c55 s1012(double start_pos[], double axis_pos[], double axis_dir[], in s1012() argument
59 void s1012(start_pos, axis_pos, axis_dir, frequency, numb_quad, in s1012()
63 double axis_dir[];
152 norm = s6norm(axis_dir, 3, z_axis, &kstat);
H A Ds1022.c56 double axis_dir[], double cone_angle, double height, in s1022() argument
59 void s1022(bottom_pos, bottom_axis, ellipse_ratio, axis_dir, in s1022()
64 double axis_dir[];
137 (void) s6length(axis_dir, 3, &kstat);
166 norm = s6norm(axis_dir, 3, norm_axis, &kstat);
/dports/math/vtk9/VTK-9.1.0/Common/DataModel/
H A DvtkPlane.cxx443 double axis_dir[3] = { det_x, xz * yz - xy * zz, xy * yz - xz * yy }; in ComputeBestFittingPlane() local
445 if (vtkMath::Dot(weighted_dir, axis_dir) < 0.0) in ComputeBestFittingPlane()
449 vtkMath::MultiplyScalar(axis_dir, weight); in ComputeBestFittingPlane()
450 vtkMath::Add(weighted_dir, axis_dir, weighted_dir); in ComputeBestFittingPlane()
454 double axis_dir[3] = { xz * yz - xy * zz, det_y, xy * xz - yz * xx }; in ComputeBestFittingPlane() local
456 if (vtkMath::Dot(weighted_dir, axis_dir) < 0.0) in ComputeBestFittingPlane()
460 vtkMath::MultiplyScalar(axis_dir, weight); in ComputeBestFittingPlane()
461 vtkMath::Add(weighted_dir, axis_dir, weighted_dir); in ComputeBestFittingPlane()
467 if (vtkMath::Dot(weighted_dir, axis_dir) < 0.0) in ComputeBestFittingPlane()
471 vtkMath::MultiplyScalar(axis_dir, weight); in ComputeBestFittingPlane()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/sample_consensus/include/pcl/sample_consensus/
H A Dsac_model_cone.h322 Eigen::Vector4f axis_dir (x[3], x[4], x[5], 0); in operator()
325 float apexdotdir = apex.dot (axis_dir); in operator()
326 float dirdotdir = 1.0f / axis_dir.dot (axis_dir); in operator()
335 float k = (pt.dot (axis_dir) - apexdotdir) * dirdotdir; in operator()
336 Eigen::Vector4f pt_proj = apex + k * axis_dir; in operator()
342 …fvec[i] = static_cast<float> (pcl::sqrPointToLineDistance (pt, apex, axis_dir) - actual_cone_radiu… in operator()
/dports/science/code_saturne/code_saturne-7.1.0/src/base/
H A Dcs_fan.c88 double axis_dir[3]; /* Unit vector of the axis member
274 fan->axis_dir[i] = outlet_axis_coords[i] - inlet_axis_coords[i]; in cs_fan_define()
277 fan->thickness = cs_math_3_norm(fan->axis_dir); in cs_fan_define()
278 cs_math_3_normalize(fan->axis_dir, fan->axis_dir); in cs_fan_define()
488 coo_axis = cs_math_3_dot_product(d_cel_axis, fan->axis_dir); in cs_fan_build_all()
499 d_cel_axis[coo_id] -= coo_axis * fan->axis_dir[coo_id]; in cs_fan_build_all()
682 if ( cs_math_3_dot_product(fan->axis_dir, i_face_normal[face_id]) in cs_fan_compute_flows()
857 coo_axis = cs_math_3_dot_product(d_cel_axis, fan->axis_dir); in cs_fan_compute_force()
863 d_cel_axis[coo_id] -= coo_axis * fan->axis_dir[coo_id]; in cs_fan_compute_force()
867 cs_math_3_cross_product(fan->axis_dir, d_cel_axis, f_rot); in cs_fan_compute_force()
[all …]
/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/examples/
H A Dexample11.cpp62 double axis_dir[] = {0, 0, 1}; variable
88 axis_dir, // direction of the main axis in main()
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/input/
H A Ddevice_manager.cpp314 int axis_dir, in mapGamepadInput() argument
384 int axis_dir, in translateInput() argument
392 GUIEngine::getCurrentScreen()->filterInput(type, device_id, button_id, axis_dir, *value); in translateInput()
417 device = mapGamepadInput(type, device_id, button_id, axis_dir, value, in translateInput()
422 device = mapGamepadInput(type, device_id, button_id, axis_dir, value, in translateInput()
/dports/devel/py-trimesh/trimesh-3.5.25/trimesh/ray/
H A Dray_triangle.py353 axis_dir = np.array([ray_directions[i][a]
360 t = (axis_bound - axis_ori) / axis_dir
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/plotters-0.3.1/src/chart/
H A Dcontext.rs665 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
682 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
683 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/plotters-0.3.1/src/chart/
H A Dcontext.rs665 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
682 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
683 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/plotters-0.3.1/src/chart/
H A Dcontext.rs665 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
682 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
683 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/net-im/zkgroup/zkgroup-0.7.4/cargo-crates/plotters-0.3.1/src/chart/
H A Dcontext.rs665 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
682 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
683 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/plotters/src/chart/
H A Dcontext.rs665 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
682 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
683 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/plotters-0.3.0/src/chart/
H A Dcontext.rs654 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
671 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
672 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/misc/xplr/xplr-0.17.0/cargo-crates/plotters-0.3.1/src/chart/
H A Dcontext.rs665 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
682 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
683 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/graphics/pastel/pastel-0.8.1/cargo-crates/plotters-0.3.1/src/chart/
H A Dcontext.rs665 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
682 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
683 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/textproc/jql/jql-3.0.6/cargo-crates/plotters-0.3.1/src/chart/
H A Dcontext.rs665 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
682 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
683 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/benchmarks/inferno/inferno-0.10.9/cargo-crates/plotters-0.3.1/src/chart/
H A Dcontext.rs665 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
682 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
683 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/plotters-0.3.0/src/chart/
H A Dcontext.rs654 let axis_dir = (end.0 - begin.0, end.1 - begin.1); localVariable
671 let x_score = (x_dir.0 * axis_dir.0 + x_dir.1 * axis_dir.1).abs();
672 let y_score = (y_dir.0 * axis_dir.0 + y_dir.1 * axis_dir.1).abs();
/dports/cad/solvespace/solvespace-2.3/src/
H A Dgroup.cpp434 Vector axis_dir = SK.GetEntity(predef.entityB)->VectorGetNum(); in Generate() local
436 AddParam(param, h.param(0), axis_dir.x); in Generate()
437 AddParam(param, h.param(1), axis_dir.y); in Generate()
438 AddParam(param, h.param(2), axis_dir.z); in Generate()
467 MakeLatheCircles(entity, param, he, axis_pos, axis_dir, ai); in Generate()
/dports/math/geogram/geogram-1.7.7/src/lib/geogram/third_party/xatlas/
H A Dxatlas.cpp1684 const Vector3 axis_dir(det_x, xz * yz - xy * zz, xy * yz - xz * yy); in computeLeastSquaresNormal()
1686 if (dot(weighted_dir, axis_dir) < 0.0f) in computeLeastSquaresNormal()
1688 weighted_dir += axis_dir * weight; in computeLeastSquaresNormal()
1692 const Vector3 axis_dir(xz * yz - xy * zz, det_y, xy * xz - yz * xx); in computeLeastSquaresNormal()
1694 if (dot(weighted_dir, axis_dir) < 0.0f) in computeLeastSquaresNormal()
1696 weighted_dir += axis_dir * weight; in computeLeastSquaresNormal()
1700 const Vector3 axis_dir(xy * yz - xz * yy, xy * xz - yz * xx, det_z); in computeLeastSquaresNormal()
1702 if (dot(weighted_dir, axis_dir) < 0.0f) in computeLeastSquaresNormal()
1704 weighted_dir += axis_dir * weight; in computeLeastSquaresNormal()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/xatlas/
H A Dxatlas.cpp1700 const Vector3 axis_dir(det_x, xz * yz - xy * zz, xy * yz - xz * yy); in computeLeastSquaresNormal()
1702 if (dot(weighted_dir, axis_dir) < 0.0f) in computeLeastSquaresNormal()
1704 weighted_dir += axis_dir * weight; in computeLeastSquaresNormal()
1708 const Vector3 axis_dir(xz * yz - xy * zz, det_y, xy * xz - yz * xx); in computeLeastSquaresNormal()
1710 if (dot(weighted_dir, axis_dir) < 0.0f) in computeLeastSquaresNormal()
1712 weighted_dir += axis_dir * weight; in computeLeastSquaresNormal()
1716 const Vector3 axis_dir(xy * yz - xz * yy, xy * xz - yz * xx, det_z); in computeLeastSquaresNormal()
1718 if (dot(weighted_dir, axis_dir) < 0.0f) in computeLeastSquaresNormal()
1720 weighted_dir += axis_dir * weight; in computeLeastSquaresNormal()
/dports/devel/godot/godot-3.2.3-stable/thirdparty/xatlas/
H A Dxatlas.cpp1700 const Vector3 axis_dir(det_x, xz * yz - xy * zz, xy * yz - xz * yy); in computeLeastSquaresNormal()
1702 if (dot(weighted_dir, axis_dir) < 0.0f) in computeLeastSquaresNormal()
1704 weighted_dir += axis_dir * weight; in computeLeastSquaresNormal()
1708 const Vector3 axis_dir(xz * yz - xy * zz, det_y, xy * xz - yz * xx); in computeLeastSquaresNormal()
1710 if (dot(weighted_dir, axis_dir) < 0.0f) in computeLeastSquaresNormal()
1712 weighted_dir += axis_dir * weight; in computeLeastSquaresNormal()
1716 const Vector3 axis_dir(xy * yz - xz * yy, xy * xz - yz * xx, det_z); in computeLeastSquaresNormal()
1718 if (dot(weighted_dir, axis_dir) < 0.0f) in computeLeastSquaresNormal()
1720 weighted_dir += axis_dir * weight; in computeLeastSquaresNormal()

12