|
PointsIter(self,
points,
loop=0,
dedup=False)
Return a PointsIter iterator. |
|
|
|
|
|
__init__(self,
lat,
lon,
height=0,
name='')
New LatLon . |
|
|
|
|
|
|
|
antipode(self,
height=None)
Return the antipode, the point diametrically opposite to this point. |
|
|
|
bounds(self,
wide,
tall,
radius=6371008.771415)
DEPRECATED, use method boundsOf . |
|
|
|
boundsOf(self,
wide,
tall,
radius=6371008.771415,
height=None)
Return the SW and NE lat-/longitude of a great circle bounding box
centered at this location. |
|
|
|
chordTo(self,
other,
height=None)
Compute the length of the chord through the earth between this and an
other point. |
|
|
|
circin6(self,
point2,
point3,
eps=8.881784197001252e-16)
Return the radius and center of the inscribed aka
In-circle of the (planar) triangle formed by this and two
other points. |
|
|
|
circum3(self,
point2,
point3,
circum=True,
eps=8.881784197001252e-16)
Return the radius and center of the smallest circle through or
containing this and two other points. |
|
|
|
circum4_(self,
*points)
Best-fit a sphere through this and two or more other points. |
|
|
|
|
|
compassAngleTo(self,
other,
adjust=True,
wrap=False)
Return the angle from North for the direction vector between this and
an other point. |
|
|
|
|
|
|
|
|
|
destinationXyz(self,
delta,
LatLon=None,
**LatLon_kwds)
Calculate the destination using a local delta from this point. |
|
|
|
|
|
|
|
|
|
euclideanTo(self,
other,
radius=None,
**options)
Approximate the Euclidian distance between this and an
other point. |
|
|
|
|
|
|
|
hartzell(self,
los=None,
earth=None)
Compute the intersection of a Line-Of-Sight (los) from this
Point-Of-View (pov) with this point's ellipsoid surface. |
|
|
|
haversineTo(self,
other,
radius=None,
wrap=False)
Compute the distance between this and an other point using the Haversine formula. |
|
|
|
height4(self,
earth=None,
normal=True,
LatLon=None,
**LatLon_kwds)
Compute the height above or below and the projection on this datum's
ellipsoid surface. |
|
|
|
heightStr(self,
prec=-2,
m=' m ' )
Return this height as str ing. |
|
|
|
|
|
|
|
isantipodeTo(self,
other,
eps=2.220446049250313e-16)
Check whether this and an other point are antipodal, on diametrically
opposite sides of the earth. |
|
|
|
isequalTo(self,
other,
eps=None)
Compare this point with an other point, ignoring height. |
|
|
|
isequalTo3(self,
other,
eps=None)
Compare this point with an other point, including height. |
|
|
|
latlon2(self,
ndigits=0)
Return this point's lat- and longitude in degrees ,
rounded. |
|
|
|
|
|
|
|
nearestOn6(self,
points,
closed=False,
height=None,
wrap=False)
Locate the point on a path or polygon closest to this point. |
|
|
|
philam2(self,
ndigits=0)
Return this point's lat- and longitude in radians ,
rounded. |
|
|
|
points(self,
points,
closed=True)
DEPRECATED, use method points2. |
|
|
|
points2(self,
points,
closed=True)
Check a path or polygon represented by points. |
|
|
|
radii11(self,
point2,
point3)
Return the radii of the Circum- , In- ,
Soddy and Tangent circles of a (planar) triangle
formed by this and two other points. |
|
|
|
rhumbAzimuthTo(self,
other,
exact=False,
radius=None)
Return the azimuth (bearing) of a rhumb line (loxodrome) between this
and an other (ellipsoidal) point. |
|
|
|
rhumbDestination(self,
distance,
azimuth,
exact=False,
radius=None,
height=None)
Return the destination point having travelled the given distance from
this point along a rhumb line (loxodrome) at the given azimuth. |
|
|
|
rhumbDistanceTo(self,
other,
exact=False,
radius=None)
Return the distance from this to an other point along a rhumb line
(loxodrome). |
|
|
|
rhumbLine(self,
azimuth_other,
exact=False,
radius=None,
name='',
**caps)
Get a rhumb line through this point at a given azimuth or through
this and an other point. |
|
|
|
rhumbMidpointTo(self,
other,
exact=False,
radius=None,
height=None,
fraction=0.5)
Return the (loxodromic) midpoint on the rhumb line between this and
an other point. |
|
|
|
thomasTo(self,
other,
wrap=False)
Compute the distance between this and an other point using Thomas' formula. |
|
|
|
|
|
to3llh(self,
height=None)
DEPRECATED, use property latlonheight or
latlon.to3Tuple(height) . |
|
|
|
|
|
toCartesian(self,
height=None,
Cartesian=None,
**Cartesian_kwds)
Convert this point to cartesian, geocentric coordinates, also
known as Earth-Centered, Earth-Fixed (ECEF). |
|
|
|
toEcef(self,
height=None,
M=False)
Convert this point to geocentric coordinates, also known as
Earth-Centered, Earth-Fixed (ECEF). |
|
|
|
toLocal(self,
Xyz=None,
ltp=None,
**Xyz_kwds)
Convert this geodetic point to local X ,
Y and Z . |
|
|
|
toLtp(self,
Ecef=None)
Return the local tangent plane (LTP) for this point. |
|
|
|
toNvector(self,
h=None,
Nvector=None,
**Nvector_kwds)
Convert this point to n-vector (normal to the earth's
surface) components, including height. |
|
|
|
toStr(self,
form=' dms ' ,
joined=', ',
m=' m ' ,
**prec_sep_s_D_M_S)
Convert this point to a "lat, lon[, +/-height]" string,
formatted in the given format . |
|
|
|
toVector(self,
Vector=None,
**Vector_kwds)
Convert this point to n-vector (normal to the earth's
surface) components, ignoring height. |
|
|
|
toVector3d(self)
Convert this point to n-vector (normal to the earth's
surface) components, ignoring height. |
|
|
|
vincentysTo(self,
other,
radius=None,
wrap=False)
Compute the distance between this and an other point using Vincenty's spherical formula. |
|
|
Inherited from named._NamedBase :
__repr__ ,
others ,
toRepr
Inherited from named._Named :
__imatmul__ ,
__matmul__ ,
__rmatmul__ ,
attrs ,
classof ,
copy ,
dup ,
methodname ,
rename ,
toStr2
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|