BEPUphysics.Paths.FiniteDifferenceSpline3D.GetCurveIndexBoundsInformation C# (CSharp) Method

GetCurveIndexBoundsInformation() public method

Gets the curve's bounding index information.
public GetCurveIndexBoundsInformation ( int &minIndex, int &maxIndex ) : void
minIndex int Index of the minimum control point in the active curve segment.
maxIndex int Index of the maximum control point in the active curve segment.
return void
        public override void GetCurveIndexBoundsInformation(out int minIndex, out int maxIndex)
        {
            if (ControlPoints.Count > 0)
            {
                minIndex = 0;
                maxIndex = ControlPoints.Count - 1;
            }
            else
            {
                minIndex = -1;
                maxIndex = -1;
            }
        }