Loading TOC...

cts:circle-radius

cts:circle-radius(
   $circle as cts:circle
) as xs:numeric

Summary

Returns a circle's radius.

Parameters
$circle The circle.

Usage Notes

This function can return a value of either xs:float or xs:double type, depending on the precision of the governing coordinate system.

See Also

Example

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

=> 20

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