Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPointFList Class / Simplify Method / Simplify(Single) Method
The tolerance (if all points from i to j are within tolerance with the line segment i-j then the chain i, i+1, ..., j is simplified to i, j).


In This Topic
    Simplify(Single) Method
    In This Topic
    Returns a simplified version of this sequence of points using an improved version Douglas and Peucker algorithm (uses path hulls) which improves the worst case running time from O(n^2) to O(n * log2(n)). Topology is preserved.
    Syntax
    'Declaration
     
    
    Public Overloads Function Simplify( _
       ByVal tolerance As System.Single _
    ) As NPointFList
    'Usage
     
    
    Dim instance As NPointFList
    Dim tolerance As System.Single
    Dim value As NPointFList
     
    value = instance.Simplify(tolerance)
    public NPointFList Simplify( 
       System.float tolerance
    )

    Parameters

    tolerance
    The tolerance (if all points from i to j are within tolerance with the line segment i-j then the chain i, i+1, ..., j is simplified to i, j).

    Return Value

    Returns a simplified version of this sequence of points.
    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