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


In This Topic
    SplitAtTimes Method (NCubicBezier)
    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 NCubicBezier, _
       ByRef second As NCubicBezier, _
       ByRef third As NCubicBezier _
    ) 
    'Usage
     
    
    Dim instance As NCubicBezier
    Dim t1 As System.Double
    Dim t2 As System.Double
    Dim first As NCubicBezier
    Dim second As NCubicBezier
    Dim third As NCubicBezier
     
    instance.SplitAtTimes(t1, t2, first, second, third)
    public void SplitAtTimes( 
       System.double t1,
       System.double t2,
       out NCubicBezier first,
       out NCubicBezier second,
       out NCubicBezier 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