/Engine/Plugins/Animation/ControlRigSpline/Source/ControlRigSpline/Public/ControlRigSplineTypes.h
Returns the control points that were used to create this spline, removing the duplicates in case of a closed spline.
[TArray](API\Runtime\Core\Containers\TArray)< FVector > GetControlPointsWithoutDuplicates()