trilaterate3d2 (center1,
radius1,
center2,
radius2,
center3,
radius3,
eps=2.22044604925e-16,
Vector=None,
**Vector_kwds)
|
|
Trilaterate three spheres, each given as a (3d) center and radius.
- Arguments:
center1 - Center of the 1st sphere (Vector3d, Vector3Tuple or
Vector4Tuple).
radius1 - Radius of the 1st sphere (same units as
x, y and z).
center2 - Center of the 2nd sphere (Vector3d, Vector3Tuple or
Vector4Tuple).
radius2 - Radius of this sphere (same units as x,
y and z).
center3 - Center of the 3rd sphere (Vector3d, Vector3Tuple or
Vector4Tuple).
radius3 - Radius of the 3rd sphere (same units as
x, y and z).
eps - Tolerance (scalar), same units as x,
y, and z.
Vector - Class to return intersections (Vector3d or Vector3Tuple) or
None for Vector3d.
Vector_kwds - Optional, additional Vector keyword
arguments, ignored if Vector=None.
- Returns:
- 2-Tuple with two trilaterated points, each a
Vector instance. Both points are the same
instance if all three spheres abut/intersect in a single point.
- Raises:
ImportError - Package numpy not found, not installed or older than
version 1.15.
IntersectionError - No intersection, colinear or concentric centers or trilateration
failed some other way.
TypeError - Invalid center1, center2 or
center3.
ValueError - Invalid radius1, radius2 or
radius3.
|