|
|
|
__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. |
|
|
|
equals(self,
other,
eps=None)
DEPRECATED, use method isequalTo . |
|
|
|
equals3(self,
other,
eps=None)
DEPRECATED, use method isequalTo3 . |
|
|
|
|
|
euclideanTo(self,
other,
radius=None,
**options)
Approximate the Euclidian distance between this and an
other point. |
|
|
|
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 in degrees ,
rounded. |
|
|
|
latlon2round(self,
ndigits=0)
DEPRECATED, use method latlon2 . |
|
|
|
latlon_(self,
ndigits=0)
DEPRECATED, use method latlon2 . |
|
|
|
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. |
|
|
|
to2ab(self)
Return this point's lat- and longitude in radians . |
|
|
|
to3llh(self,
height=None)
Return this point's lat-, longitude and height. |
|
|
|
to3xyz(self)
DEPRECATED, use method toVector , toNvector
or toEcef . |
|
|
|
toCartesian(self,
Cartesian=None,
**kwds)
Convert this point to geocentric (ECEF cartesian) coordinates. |
|
|
|
toEcef(self)
Convert this point to a geocentric coordinates, alse known as
Earth-Centered, Earth-Fixed (ECEF). |
|
|
|
toNvector(self,
h=None,
Nvector=None,
**kwds)
Convert this point to n-vector (normal to the earth's
surface) components, including height. |
|
|
|
toStr(self,
form=' dms ' ,
prec=None,
m=' m ' ,
sep=' , ' )
Convert this point to a "lat, lon [+/-height]" string,
formatted in the given form. |
|
|
|
toVector(self,
Vector=None,
**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 ,
toStr2
Inherited from named._Named :
classof ,
copy
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|