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
Powered by MarkLogic Server | Terms of Use | Privacy Policy