Nevron .NET Vision
Nevron.GraphicsCore Namespace / NQuadraticBezier Structure / SplitAtTimes Method


In This Topic
    SplitAtTimes Method (NQuadraticBezier)
    In This Topic
    Splits a bezier curve at the specified times in the (0:1) range and returns the three resulting segments. Throws an exception if the time arguments are not in range, or t1 >= t2.
    Syntax
    'Declaration
     
    
    Public Sub SplitAtTimes( _
       ByVal t1 As System.Double, _
       ByVal t2 As System.Double, _
       ByRef first As NQuadraticBezier, _
       ByRef second As NQuadraticBezier, _
       ByRef third As NQuadraticBezier _
    ) 
    'Usage
     
    
    Dim instance As NQuadraticBezier
    Dim t1 As System.Double
    Dim t2 As System.Double
    Dim first As NQuadraticBezier
    Dim second As NQuadraticBezier
    Dim third As NQuadraticBezier
     
    instance.SplitAtTimes(t1, t2, first, second, third)
    public void SplitAtTimes( 
       System.double t1,
       System.double t2,
       out NQuadraticBezier first,
       out NQuadraticBezier second,
       out NQuadraticBezier third
    )

    Parameters

    t1
    t2
    first
    second
    third
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also