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

Method FindEdges

s2/edge_query.go:303–305  ·  view source on GitHub ↗

FindEdges returns the edges for the given target that satisfy the current options. Note that if opts.IncludeInteriors is true, the results may include some entries with edge_id == -1. This indicates that the target intersects the indexed polygon with the given ShapeID.

(target distanceTarget)

Source from the content-addressed store, hash-verified

301// entries with edge_id == -1. This indicates that the target intersects
302// the indexed polygon with the given ShapeID.
303func (e *EdgeQuery) FindEdges(target distanceTarget) []EdgeQueryResult {
304 return e.findEdges(target, e.opts)
305}
306
307// Distance reports the distance to the target. If the index or target is empty,
308// returns the EdgeQuery's maximal sentinel.

Calls 1

findEdgesMethod · 0.95