# What is the algorithm applied to curve setting option?

**URL:** <https://discourse.slicer.org/t/what-is-the-algorithm-applied-to-curve-setting-option/31958>\
**Category:** Development\
**Tags:** python\
**Created:** [September 29, 2023, 6:27am UTC](https://discourse.slicer.org/t/what-is-the-algorithm-applied-to-curve-setting-option/31958 "2023-09-29T06:27:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsa934](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/dsa934/32/17907_2.png) [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Post date:** [September 29, 2023, 6:27am UTC](https://discourse.slicer.org/t/what-is-the-algorithm-applied-to-curve-setting-option/31958/1 "2023-09-29T06:27:26Z")

</div>

Hi, slicer users,

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/f/7f320b9f9b04f405140546a109f99c90bd035134.png)

Where can I find the implementation part of the above function on github?

I’m trying to create a function where the fiducialNode has a ‘maximum projection distance’ of 1% for the constrain model (some\_mesh), but 3d slicer doesn’t seem to have that function.

---

<div class="post-metadata">

**Author:** ![Jeff\_Zeyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jeff_zeyl/32/70056_2.png) [@Jeff\_Zeyl](https://discourse.slicer.org/u/Jeff_Zeyl)\
**Post date:** [September 29, 2023, 2:58pm UTC](https://discourse.slicer.org/t/what-is-the-algorithm-applied-to-curve-setting-option/31958/2 "2023-09-29T14:58:52Z")

</div>

SetSurfaceConstraintMaximumSearchRadiusTolerance()

I don’t have my computer to check but I believe this function applied to the markup curve node is related

[https://apidocs.slicer.org/main/classvtkMRMLMarkupsCurveNode.html#a98aef56e120a5fabf748a1f158880d49](https://apidocs.slicer.org/main/classvtkMRMLMarkupsCurveNode.html#a98aef56e120a5fabf748a1f158880d49)
