Show / Hide Table of Contents

    Class Polygon

    Polygon object.

    Inheritance
    Object
    Polygon
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Advanced.Algorithms.Geometry
    Assembly: Advanced.Algorithms.dll
    Syntax
    public class Polygon

    Constructors

    Polygon(List<Line>)

    Create a polygon with given edges lines.

    Declaration
    public Polygon(List<Line> edges)
    Parameters
    Type Name Description
    List<Line> edges

    Polygon(List<Point>)

    Create polygon from the given list of consecutive boundary end points. Last and first points will be connected. If only one edge point is provided then this polygon will behave like a point, a line is created with both ends having same edge point.

    Declaration
    public Polygon(List<Point> edgePoints)
    Parameters
    Type Name Description
    List<Point> edgePoints

    Properties

    Edges

    Declaration
    public List<Line> Edges { get; set; }
    Property Value
    Type Description
    List<Line>
    Back to top Generated by DocFX