Segment boundary

Which npp function in cuda 11.5 is used to draw segment boundaries around an object. As boundsegment function is deprecated ifor latest versions. If there is any other substitute function for doing this?

Thank you!