Search
Polygon Members
Constructors Properties Methods
 


Represents immutable closed plane figure with three or more straight sides.

The following tables list the members exposed by the Polygon type.

 Public Constructors

  Name Description

Polygon

Overloaded. Initializes a new instance of the Polygon class.

 Public Properties

  Name Description

Bounds

Gets the smallest rectangle bounding the polygon.

Points

Gets a collection of the polygon points.

 Public Methods

  Name Description

Contains

Checks whether the specified point lies whithin the polygon.

FindConvexVertex

Finds a convex vertex of the polygon.

GetInternalPoint

Finds a point inside the polygon.

IntersectLine

Overloaded. Calculates all intersection points of this polygon and the specified line.

IntersectSegment

Overloaded. Calculates all intersection points of this polygon and the specified line segment.

 See Also