# vtkMath::Jacobi: error extracting eigenfunctions while using vtkOBBTree

**URL:** https://discourse.vtk.org/t/vtkmath-error-extracting-eigenfunctions-while-using-vtkobbtree/8773
**Category:** Support
**Created:** [June 22, 2022, 12:43am UTC](https://discourse.vtk.org/t/vtkmath-error-extracting-eigenfunctions-while-using-vtkobbtree/8773 "2022-06-22T00:43:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![adeelz92](https://discourse.vtk.org/user_avatar/discourse.vtk.org/adeelz92/32/4963_2.png) [@adeelz92](https://discourse.vtk.org/u/adeelz92)
#### Post date: [June 22, 2022, 12:43am UTC](https://discourse.vtk.org/t/vtkmath-error-extracting-eigenfunctions-while-using-vtkobbtree/8773/1 "2022-06-22T00:43:43Z")

</div>

Hi,  
I am using vtkVortexCore filter to extract vortex core lines from the input polydata. After that I am using vtkConnectivityFilter to separate each polyline into its own polydata. After that I am using vtkOBBTree to draw oriented bounding box around each polyline.

```auto
vtkNew<vtkVortexCore> orgVortexCore;
orgVortexCore->FasterApproximationOn();
orgVortexCore->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS, "velocity");
orgVortexCore->SetInputData(input->GetOutput());
orgVortexCore->Update();

vtkNew<vtkConnectivityFilter> connectivityFilter;
connectivityFilter->SetInputData(orgVortexCore->GetOutput());
connectivityFilter->SetExtractionModeToCellSeededRegions();
connectivityFilter->InitializeSeedList();
connectivityFilter->AddSeed(cellId);
connectivityFilter->Update();

vtkNew<vtkOBBTree> sourceOBBTree;
sourceOBBTree->SetDataSet(connectivityFilter->GetOutput());
sourceOBBTree->SetMaxLevel(1);
sourceOBBTree->BuildLocator();

```

But I get the following error while using vtkOBBTree.

> vtkMath::Jacobi: error extracting eigenfunctions
