# How to minimize the gap between FeatureEdges (in boundary setting) and the polygonal shape?

**URL:** https://discourse.paraview.org/t/how-to-minimize-the-gap-between-featureedges-in-boundary-setting-and-the-polygonal-shape/11645
**Category:** ParaView Support
**Tags:** vtk
**Created:** [March 17, 2023, 10:03am UTC](https://discourse.paraview.org/t/how-to-minimize-the-gap-between-featureedges-in-boundary-setting-and-the-polygonal-shape/11645 "2023-03-17T10:03:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Marek-Muchow](https://discourse.paraview.org/user_avatar/discourse.paraview.org/marek-muchow/32/11122_2.png) [@Marek-Muchow](https://discourse.paraview.org/u/Marek-Muchow)
#### Post date: [March 17, 2023, 10:03am UTC](https://discourse.paraview.org/t/how-to-minimize-the-gap-between-featureedges-in-boundary-setting-and-the-polygonal-shape/11645/1 "2023-03-17T10:03:25Z")

</div>

Hi,

this is basically a follow-up question from [this question](https://discourse.paraview.org/t/get-the-profile-shape-outline-of-several-polygons/11599) about how to get the outline of my shape consisting of several polygons. But my current problem relates only to the `Feature Edge` function (documentation [here](https://kitware.github.io/paraview-docs/latest/python/paraview.simple.FeatureEdges.html?highlight=feature%20edge#paraview.simple.FeatureEdges)) and the gap it creates between the feature and the produced edge, so I think it is worth opening up a new question.

The outline of my polygonal shape created with the `Feature Edge` function (pink), with only the Boundary Edges turned on, and my 2D polygonal shape (red) show several gaps (see below) and I am wondering, how/if I can minimize these gaps.

 ![Outline](https://discourse.paraview.org/uploads/default/original/2X/e/e7d59bcc8c77d4fa75ac776c24a80b864706449e.png)

The red shape was created by using the `Calculator` function (`coordsX*iHat + coordsY*jHat`) on 3D vtk data and then the `Delauny2D` filter (black dots).

Thanks a lot!
