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

Method IsEmpty

s2/shape.go:258–258  ·  view source on GitHub ↗

IsEmpty reports whether the Shape contains no points. (Note that the full polygon is represented as a chain with zero edges.)

()

Source from the content-addressed store, hash-verified

256 // IsEmpty reports whether the Shape contains no points. (Note that the full
257 // polygon is represented as a chain with zero edges.)
258 IsEmpty() bool
259
260 // IsFull reports whether the Shape contains all points on the sphere.
261 IsFull() bool

Callers 15

EqualMethod · 0.65
ContainsIntervalMethod · 0.65
UnionMethod · 0.65
ApproxEqualMethod · 0.65
TestIsEmptyFunction · 0.65
ContainsIntervalMethod · 0.65
IntersectsMethod · 0.65
InteriorIntersectsMethod · 0.65

Implementers 6

Loops2/loop.go
LaxLoops2/lax_loop.go
Polygons2/polygon.go
LaxPolylines2/lax_polyline.go
edgeVectorShapes2/edge_vector_shape_test.go
LaxPolygons2/lax_polygon.go

Calls

no outgoing calls

Tested by 15

TestIsEmptyFunction · 0.52
TestSimplePredicatesFunction · 0.52
TestIntervalComplementFunction · 0.52
TestEmptyRectFunction · 0.52
TestIntervalOpsFunction · 0.52
TestExpandedEmptyFunction · 0.52
TestLaxLoopEmptyLoopFunction · 0.52
TestLaxLoopNonEmptyLoopFunction · 0.52
TestPointVectorBasicsFunction · 0.52