Incorrect Results from TinSurface.GetVerticesInsideBorder Method

Hello,

I am currently working with the GetVerticesInsideBorder method from the TinSurface class in Autodesk Civil 3D and using it in a Dynamo script. The method is intended to return an array of TinSurfaceVertex objects that are inside a border specified by a Point3dCollection. However, the results I’m receiving are incorrect. All the points returned by this method are outside the border Point3DCollection provided as an input.

CHECK TYPE

Am using Catchment.BoundaryPolyline3d Property as input to the method. I think it is the correct type. I am getting some points as output but when I checked most of those points were outside the input boundary.