MCPcopy
hub / github.com/golang/geo / FullCap

Function FullCap

s2/cap.go:106–108  ·  view source on GitHub ↗

FullCap returns a cap that contains all points.

()

Source from the content-addressed store, hash-verified

104
105// FullCap returns a cap that contains all points.
106func FullCap() Cap {
107 return CapFromCenterChordAngle(centerPoint, s1.StraightChordAngle)
108}
109
110// IsValid reports whether the Cap is considered valid.
111func (c Cap) IsValid() bool {

Callers 7

TestEncodeDecodeFunction · 0.85
cap_test.goFile · 0.85
TestCapRectBoundsFunction · 0.85
TestCapCentroidFunction · 0.85
TestCapUnionFunction · 0.85
TestCapEqualFunction · 0.85
ComplementMethod · 0.85

Calls 1

CapFromCenterChordAngleFunction · 0.85

Tested by 5

TestEncodeDecodeFunction · 0.68
TestCapRectBoundsFunction · 0.68
TestCapCentroidFunction · 0.68
TestCapUnionFunction · 0.68
TestCapEqualFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…