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

Function EmptyLoop

s2/loop.go:114–116  ·  view source on GitHub ↗

EmptyLoop returns a special "empty" loop.

()

Source from the content-addressed store, hash-verified

112
113// EmptyLoop returns a special "empty" loop.
114func EmptyLoop() *Loop {
115 return LoopFromPoints([]Point{emptyLoopPoint})
116}
117
118// FullLoop returns a special "full" loop.
119func FullLoop() *Loop {

Callers 15

earth_test.goFile · 0.92
TestLaxLoopEmptyLoopFunction · 0.85
ConvexHullMethod · 0.85
TestEncodeDecodeFunction · 0.85
TestLoopEncodeDecodeFunction · 0.85
initBoundMethod · 0.85
loop_test.goFile · 0.85
TestLoopEmptyLoopFunction · 0.85
TestLoopRectBoundFunction · 0.85
TestLoopCapBoundFunction · 0.85
TestLoopContainsPointFunction · 0.85

Calls 1

LoopFromPointsFunction · 0.85

Tested by 15

TestLaxLoopEmptyLoopFunction · 0.68
TestEncodeDecodeFunction · 0.68
TestLoopEncodeDecodeFunction · 0.68
TestLoopEmptyLoopFunction · 0.68
TestLoopRectBoundFunction · 0.68
TestLoopCapBoundFunction · 0.68
TestLoopContainsPointFunction · 0.68
TestLoopVertexFunction · 0.68
TestLoopNumEdgesFunction · 0.68
TestLoopEqualFunction · 0.68
TestLoopRelationsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…