GetInternalPoint()

Summary

Gets a point internal to an area.

Syntax

int_pt = GetInternalPoint(integer area_id)

Argument Contents
area_ id ID of an area

Returns

A coord with the location of the internal point.

Notes

  • The current layer must be an area layer.

  • While the point will be internal, it may not be the same as the point returned by GetCentroid(), since GetInternalPoint() uses more elaborate tests in order to ensure a more reasonable internal point.

Example

int_pt = GetInternalPoint(19023)

See Also

Function Summary
GetCentroid() Gets the centroid location of an area feature
GetPolygonInternalPoint() Gets a point internal to a polygon