trilaterate3d2 (center1,
radius1,
center2,
radius2,
center3,
radius3,
eps=2.220446049250313e-16,
**Vector_and_kwds)
|
|
Trilaterate three spheres, each given as a (3-D) center and a
radius.
- Arguments:
center1 - Center of the 1st sphere (Cartesian , Vector3d, Vector3Tuple or
Vector4Tuple ).
radius1 - Radius of the 1st sphere (same units as
x , y and z ).
center2 - Center of the 2nd sphere (Cartesian , Vector3d, Vector3Tuple or
Vector4Tuple ).
radius2 - Radius of this sphere (same units as x ,
y and z ).
center3 - Center of the 3rd sphere (Cartesian , Vector3d, Vector3Tuple or
Vector4Tuple ).
radius3 - Radius of the 3rd sphere (same units as
x , y and z ).
eps - Pertubation tolerance (scalar ), same units as
x , y and z or
None for no pertubations.
Vector_and_kwds - Optional class Vector=None to return the
trilateration and optional, additional Vector
keyword arguments, otherwise the center1 's
(sub-)class.
- 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.10.
IntersectionError - Near-concentric, -colinear, too distant or non-intersecting
spheres.
NumPyError - Some numpy issue.
TypeError - Invalid center1 , center2 or
center3 .
UnitError - Invalid radius1 , radius2 or
radius3 .
|