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

Function FullLoop

s2/loop.go:119–121  ·  view source on GitHub ↗

FullLoop returns a special "full" loop.

()

Source from the content-addressed store, hash-verified

117
118// FullLoop returns a special "full" loop.
119func FullLoop() *Loop {
120 return LoopFromPoints([]Point{fullLoopPoint})
121}
122
123// initOriginAndBound sets the origin containment for the given point and then calls
124// the initialization for the bounds objects and the internal index.

Callers 15

earth_test.goFile · 0.92
ConvexHullMethod · 0.85
singleEdgeLoopFunction · 0.85
TestEncodeDecodeFunction · 0.85
TestLoopEncodeDecodeFunction · 0.85
FullPolygonFunction · 0.85
loop_test.goFile · 0.85
TestLoopFullLoopFunction · 0.85
TestLoopRectBoundFunction · 0.85
TestLoopCapBoundFunction · 0.85
TestLoopContainsPointFunction · 0.85

Calls 1

LoopFromPointsFunction · 0.85

Tested by 15

TestEncodeDecodeFunction · 0.68
TestLoopEncodeDecodeFunction · 0.68
TestLoopFullLoopFunction · 0.68
TestLoopRectBoundFunction · 0.68
TestLoopCapBoundFunction · 0.68
TestLoopContainsPointFunction · 0.68
TestLoopVertexFunction · 0.68
TestLoopNumEdgesFunction · 0.68
TestLoopEqualFunction · 0.68
TestLoopRelationsFunction · 0.68
TestLoopTurningAngleFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…