Click or drag to resize

RectExtensionsCreateEnvelope Method

Create the minimal bounding rectangle around a polygon.

Namespace:  Ptv.XServer.Controls.Map.Tools
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public static Rect CreateEnvelope(
	IEnumerable<Point> points
)

Parameters

points
Type: System.Collections.GenericIEnumerablePoint
Set of points defining the polygon.

Return Value

Type: Rect
Minimal bounding rectangle of the polygon.
See Also