Lines Matching refs:axis_dir
443 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()
465 double axis_dir[3] = { xy * yz - xz * yy, xy * xz - yz * xx, det_z }; in ComputeBestFittingPlane() local
467 if (vtkMath::Dot(weighted_dir, axis_dir) < 0.0) in ComputeBestFittingPlane()
471 vtkMath::MultiplyScalar(axis_dir, weight); in ComputeBestFittingPlane()
472 vtkMath::Add(weighted_dir, axis_dir, weighted_dir); in ComputeBestFittingPlane()