find_by_distances: find_by_distances

Description Usage Arguments Value Author(s) References

View source: R/find_by_distances.R

Description

find the two possible positions of one unknown point using the distances to two known points

Usage

1
find_by_distances(x1, y1, x2, y2, dist1, dist2, return_circles = FALSE)

Arguments

x1

numeric; x coordinate of the first known point.

y1

numeric; y coordinate of the first known point.

x2

numeric; x coordinate of the second known point.

y2

numeric; y coordinate of the second known point.

dist1

numeric; distance to the first known point.

dist2

numeric; distance to the second known point.

return_circles

logical; if true the two circles is also returned.

Value

1) SpatialPoints with the coordinates of the two possible positions, or 2) a list with two objects: The coordinates of the two points, and a SpatialPolygons object with the two circles.

Author(s)

Marius Hauglin 2016 marius.hauglin@gnmail.com

References

http://gis.stackexchange.com/questions/112905/map-location-of-unknown-point-with-distances-to-two-known-points


kmhaug/gama documentation built on May 24, 2019, 5:01 a.m.