S2Cap.fromCenterHeight

Returns a cap with the given center and height (see comments above). A negative height yields an empty cap; a height of 2 or more yields a full cap. "center" should be unit length.

class S2Cap
static
fromCenterHeight
(,
double height
)

Meta