Class Polygon
Polygon object.
Inherited Members
Namespace: Advanced.Algorithms.Geometry
Assembly: Advanced.Algorithms.dll
Syntax
public class Polygon
Constructors
| Improve this Doc View SourcePolygon(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
| Improve this Doc View SourceEdges
Declaration
public List<Line> Edges { get; set; }
Property Value
Type | Description |
---|---|
List<Line> |