Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlatCoverer ¶
type FlatCoverer struct {
*s2.RegionCoverer
}
Embeds a s2.RegionCover, but does it's own covering Pick the deepest level and normalize a cellunion The default coverer didn't trim on the boundary...
func NewFlatCoverer ¶
func NewFlatCoverer(level int) *FlatCoverer
func (*FlatCoverer) InteriorCellUnion ¶
func (c *FlatCoverer) InteriorCellUnion(r s2.Region) s2.CellUnion
func (*FlatCoverer) InteriorCovering ¶
func (c *FlatCoverer) InteriorCovering(r s2.Region) s2.CellUnion
type LoopRegion ¶
Making s2.Loop implement s2.Region
func LoopRegionFromPoints ¶
func LoopRegionFromPoints(points []s2.Point) *LoopRegion
func (*LoopRegion) CapBound ¶
func (l *LoopRegion) CapBound() s2.Cap
func (*LoopRegion) ContainsCell ¶
func (l *LoopRegion) ContainsCell(c s2.Cell) bool
func (*LoopRegion) IntersectsCell ¶
func (l *LoopRegion) IntersectsCell(c s2.Cell) bool
Click to show internal directories.
Click to hide internal directories.