Loading TOC...

MarkLogic Server 11.0 Product Documentation
cts:circle-center

cts:circle-center(
   $circle as cts:circle
) as cts:point

Summary

Returns a circle's center point.

Parameters
circle The circle.

Usage Notes

This function can return either a single or double precision region, depending on the precision of the governing coordinate system.

See Also

Example

cts:circle-center(cts:circle(20, cts:point(37.655983, -122.425525)))

=> 37.655983, -122.425525 (as a cts:point)

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.