Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPolygonF Class
Properties Methods


In This Topic
    NPolygonF Class Members
    In This Topic

    The following tables list the members exposed by NPolygonF.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets the area of the polygon.  
    Public PropertyGets the signed area of the polygon.  
    Public PropertyGets the barycenter of the polygon.  
    Public PropertyGets the minimal enclosing rectangle  
    Public PropertyGets the minimal enclosing 2D range  
    Public PropertyGets the centroid (that is the center of mass) of the polygon.  
    Public PropertyDetermines whether this polygon is convex  
    Public PropertyDetermines whether this is a flat primitive.  
    Public PropertyGets/sets the polygon vertices  
    Top
    Public Methods
     NameDescription
    Public MethodAppends the primitive to the specified graphics path  
    Public MethodDetermines whether this polygon area intersects with the specified rectangle area.  
    Public MethodOverloaded. Determines whether the primitive interior contains the specified point  
    Public MethodOverloaded. Determines whether the outline of the polygon contains the specified point  
    Public Methodstatic (Shared in Visual Basic)Creates a polygon from the given rectangle.  
    Public MethodComputes the convex hull of the polygon using the Graham Scan algorithm. Returns the points forming the convex hull in counterclockwise order.  
    Public MethodOverloaded. Gets the longest horizontal inner line in the polygon.  
    Public MethodComputes the minimal enclosing circle (a.k.a the bomb problem) using the Welzl's algorithm.  
    Public MethodOverloaded. Determines whether this polygon intersects with the specified line.  
    Public MethodOverloaded. Checks if this polygon intersect with the given line segment and returns the intersection points if it does.  
    Public MethodInvalidates any cached information about the polygon.  
    Public Method/Determines whether this polygon outline intersects with the specified rectangle.  
    Public MethodObtains the number of clockwise and counterwise crossings of a scanline with the polygon segments.  
    Public MethodReturns a simplified version of this polygon 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.  
    Public MethodOverloaded. Translates the primitive with the specified amounts  
    Top
    See Also