|
|
|
|
|
__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,
high,
radius=6371008.77141)
DEPRECATED, use method boundsOf. |
|
|
|
|
boundsOf(self,
wide,
high,
radius=6371008.77141)
Return the SE and NW lat-/longitude of a great circle bounding box
centered at this location. |
|
|
|
|
compassAngle(self,
other)
DEPRECATED, use method compassAngleTo. |
|
|
|
|
compassAngleTo(self,
other,
adjust=True,
wrap=False)
Return the angle from North for the direction vector between this and
an other point. |
|
|
|
|
copy(self)
Copy this point. |
|
|
|
|
equals(self,
other,
eps=None)
DEPRECATED, use method isequalTo. |
|
|
|
|
equals3(self,
other,
eps=None)
DEPRECATED, use method isequalTo3. |
|
|
|
|
|
|
|
haversineTo(self,
other,
radius=None,
wrap=False)
Compute the distance between this and an other point using the Haversine formula. |
|
|
|
|
isantipode(self,
other,
eps=2.22044604925e-16)
DEPRECATED, use method isantipodeTo. |
|
|
|
|
isantipodeTo(self,
other,
eps=2.22044604925e-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. |
|
|
|
|
isequalTo3(self,
other,
eps=None)
Compare this point with an other point. |
|
|
|
|
latlon2(self,
ndigits=0)
Return this point's lat- and longitude, rounded. |
|
|
|
|
latlon2round(self,
ndigits=0)
DEPRECATED, use method latlon2. |
|
|
|
|
latlon_(self,
ndigits=0)
DEPRECATED, use method latlon2. |
|
|
|
|
points(self,
points,
closed=True)
DEPRECATED, use method points2. |
|
|
|
|
points2(self,
points,
closed=True)
Check a polygon represented by points. |
|
|
|
|
to2ab(self)
Return this point's lat- and longitude in radians. |
|
|
|
|
to3llh(self)
Return this point's lat-, longitude and height. |
|
|
|
|
to3xyz(self)
Convert this (geodetic) point to (n-)vector (normal to the earth's
surface) x/y/z components, ignoring the height. |
|
|
|
|
toStr(self,
form='dms',
prec=None,
m='m',
sep=', ')
Convert this point to a "lat, lon [+/-height]" string,
formatted in the given form. |
|
|
|
Inherited from Based:
__repr__,
classof,
others,
toStr2
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|