📄 posdecimallatlon.html
字号:
<BR>
</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="lat"><!-- --></A><H3>
lat</H3>
<PRE>
public <A HREF="../../../../com/farcrown/lpws/lu/LatOrLongitude.html">LatOrLongitude</A> <B>lat</B></PRE>
<DL>
</DL>
<HR>
<A NAME="lon"><!-- --></A><H3>
lon</H3>
<PRE>
public <A HREF="../../../../com/farcrown/lpws/lu/LatOrLongitude.html">LatOrLongitude</A> <B>lon</B></PRE>
<DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="posDecimalLatLon()"><!-- --></A><H3>
posDecimalLatLon</H3>
<PRE>
public <B>posDecimalLatLon</B>()</PRE>
<DL>
<DD>Creates a new instance of posDecimalLatLon</DL>
<HR>
<A NAME="posDecimalLatLon(java.lang.String, java.lang.String)"><!-- --></A><H3>
posDecimalLatLon</H3>
<PRE>
public <B>posDecimalLatLon</B>(java.lang.String latStr, java.lang.String lonStr)</PRE>
<DL>
<DD>Creates a new instance of posDecimalLatLon</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="toPosDecimalLatLon(java.lang.String)"><!-- --></A><H3>
toPosDecimalLatLon</H3>
<PRE>
public static <A HREF="../../../../com/farcrown/lpws/types/posDecimalLatLon.html">posDecimalLatLon</A> <B>toPosDecimalLatLon</B>(java.lang.String s)</PRE>
<DL>
</DL>
<HR>
<A NAME="setPosDecimalDegrees(java.lang.String, java.lang.String)"><!-- --></A><H3>
setPosDecimalDegrees</H3>
<PRE>
public void <B>setPosDecimalDegrees</B>(java.lang.String decDegLat, java.lang.String decDegLon)</PRE>
<DL>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="subtract(com.farcrown.lpws.types.posDecimalLatLon, com.farcrown.lpws.types.posDecimalLatLon)"><!-- --></A><H3>
subtract</H3>
<PRE>
public static double <B>subtract</B>(<A HREF="../../../../com/farcrown/lpws/types/posDecimalLatLon.html">posDecimalLatLon</A> p1, <A HREF="../../../../com/farcrown/lpws/types/posDecimalLatLon.html">posDecimalLatLon</A> p2)</PRE>
<DL>
</DL>
<HR>
<A NAME="subtract(com.farcrown.lpws.types.posDecimalLatLon)"><!-- --></A><H3>
subtract</H3>
<PRE>
public double <B>subtract</B>(<A HREF="../../../../com/farcrown/lpws/types/posDecimalLatLon.html">posDecimalLatLon</A> p2)</PRE>
<DL>
</DL>
<HR>
<A NAME="bearing(com.farcrown.lpws.types.posDecimalLatLon)"><!-- --></A><H3>
bearing</H3>
<PRE>
public double <B>bearing</B>(<A HREF="../../../../com/farcrown/lpws/types/posDecimalLatLon.html">posDecimalLatLon</A> p2)</PRE>
<DL>
<DD>Determine the bearing of p2 from 'this'<DD><DL>
<DT><B>Returns:</B><DD>bearing in radians</DL>
</DD>
</DL>
<HR>
<A NAME="closest(com.farcrown.lpws.types.posDecimalLatLon, com.farcrown.lpws.types.posDecimalLatLon)"><!-- --></A><H3>
closest</H3>
<PRE>
public int <B>closest</B>(<A HREF="../../../../com/farcrown/lpws/types/posDecimalLatLon.html">posDecimalLatLon</A> p1, <A HREF="../../../../com/farcrown/lpws/types/posDecimalLatLon.html">posDecimalLatLon</A> p2)</PRE>
<DL>
<DD>Determine which of two given positions is closest to the position given by the 'this' instance Returns 1 if 1st param/position is closest 2 if 2nd param/position is closest 0 if they are equidistant</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/farcrown/lpws/types/MathPreJava2.html"><B>PREV CLASS</B></A>
<A HREF="../../../../com/farcrown/lpws/types/Preferences.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="posDecimalLatLon.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -