boundary static method

Geometry boundary(
  1. Geometry geometry
)

Calculates the boundary of the given geometry.

The type of geometry that the boundary takes depends on the type of the input geometry:

  • For ArcGISPoint - returns an empty geometry. Points have no boundary.
  • For Multipoint - returns an empty geometry. Points have no boundary.
  • For Polyline - returns a multipoint containing the end points of the polyline's parts.
  • For Polygon - returns a polyline describing its outer and inner rings.

Supports true curves.

Parameters:

  • geometry — A geometry object.

Return Value: The boundary of the given geometry.