p[0] = x * aux_mesh_spc[0];
p[1] = y * aux_mesh_spc[1];
p[2] = z * aux_mesh_spc[2];
- int idMeshPoint = pointLocator->FindClosestPoint(p);
+ long int idMeshPoint = pointLocator->FindClosestPoint(p);
aux_mesh->GetPointData()->GetNormals()->GetTuple(idMeshPoint, normal);
int direction = step;
// pN[0] = p[0] / spc[0] + direction*normal[0];