GetMinimumSpanningCircle()

Summary

Computes the smallest circle that encloses an area.

Syntax

ms_circle = GetMinimumSpanningCircle(integer area_id)

Argument Contents
area_ id ID of an area

Returns

A circle that is the smallest circle that encloses the area.

Notes

  • The current layer must be an area layer.

  • Use GetMinimumSpanningCircle() for the points in the boundary of an area, and use MinimumSpanningCircle() for any group of points.

Example

ms_circle = GetMinimumSpanningCircle(19023)

See Also

Function Summary
ConvexHull() Computes the convex hull that encloses an area
MinimumSpanningCircle() Computes the smallest circle that encloses a group of points