2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
< HTML >
< HEAD >
2014-03-14 13:24:50 +00:00
<!-- Generated by javadoc (build 1.6.0_43) on Fri Mar 14 13:14:29 GMT 2014 -->
2012-05-21 20:32:26 +00:00
< TITLE >
2014-03-14 13:24:50 +00:00
mxLine (mxGraph 2.5.0.3 API Specification)
2012-05-21 20:32:26 +00:00
< / TITLE >
2014-03-14 13:24:50 +00:00
< META NAME = "date" CONTENT = "2014-03-14" >
2012-05-21 20:32:26 +00:00
< LINK REL = "stylesheet" TYPE = "text/css" HREF = "../../../stylesheet.css" TITLE = "Style" >
< SCRIPT type = "text/javascript" >
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
2014-03-14 13:24:50 +00:00
parent.document.title="mxLine (mxGraph 2.5.0.3 API Specification)";
2012-05-21 20:32:26 +00:00
}
}
< / SCRIPT >
< NOSCRIPT >
< / NOSCRIPT >
< / HEAD >
< BODY BGCOLOR = "white" onload = "windowTitle();" >
< HR >
<!-- ========= START OF TOP NAVBAR ======= -->
< A NAME = "navbar_top" > <!-- --> < / A >
< A HREF = "#skip-navbar_top" title = "Skip navigation links" > < / A >
< TABLE BORDER = "0" WIDTH = "100%" CELLPADDING = "1" CELLSPACING = "0" SUMMARY = "" >
< TR >
< TD COLSPAN = 2 BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" >
< A NAME = "navbar_top_firstrow" > <!-- --> < / A >
< TABLE BORDER = "0" CELLPADDING = "0" CELLSPACING = "3" SUMMARY = "" >
< 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 = "class-use/mxLine.html" > < FONT CLASS = "NavBarFont1" > < B > Use< / B > < / FONT > < / A > < / 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 >
2014-03-14 13:24:50 +00:00
< p > < b > mxGraph 2.5.0.3< / b > < / p > < / EM >
2012-05-21 20:32:26 +00:00
< / TD >
< / TR >
< TR >
< TD BGCOLOR = "white" CLASS = "NavBarCell2" > < FONT SIZE = "-2" >
< A HREF = "../../../com/mxgraph/util/mxLightweightLabel.html" title = "class in com.mxgraph.util" > < B > PREV CLASS< / B > < / A >
< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > < B > NEXT CLASS< / B > < / A > < / FONT > < / TD >
< TD BGCOLOR = "white" CLASS = "NavBarCell2" > < FONT SIZE = "-2" >
< A HREF = "../../../index.html?com/mxgraph/util/mxLine.html" target = "_top" > < B > FRAMES< / B > < / A >
< A HREF = "mxLine.html" target = "_top" > < B > NO FRAMES< / B > < / A >
< SCRIPT type = "text/javascript" >
<!--
if(window==top) {
document.writeln('< A HREF = "../../../allclasses-noframe.html" > < B > All Classes< / B > < / A > ');
}
//-->
< / SCRIPT >
< NOSCRIPT >
< A HREF = "../../../allclasses-noframe.html" > < B > All Classes< / B > < / A >
< / NOSCRIPT >
< / FONT > < / TD >
< / TR >
< TR >
< TD VALIGN = "top" CLASS = "NavBarCell3" > < FONT SIZE = "-2" >
SUMMARY: NESTED | < 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 >
< A NAME = "skip-navbar_top" > < / A >
<!-- ========= END OF TOP NAVBAR ========= -->
< HR >
<!-- ======== START OF CLASS DATA ======== -->
< H2 >
< FONT SIZE = "-1" >
com.mxgraph.util< / FONT >
< BR >
Class mxLine< / H2 >
< PRE >
< A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title = "class or interface in java.lang" > java.lang.Object< / A >
< IMG SRC = "../../../resources/inherit.gif" ALT = "extended by " > < A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > com.mxgraph.util.mxPoint< / A >
< IMG SRC = "../../../resources/inherit.gif" ALT = "extended by " > < B > com.mxgraph.util.mxLine< / B >
< / PRE >
< DL >
< DT > < B > All Implemented Interfaces:< / B > < DD > < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title = "class or interface in java.io" > Serializable< / A > , < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title = "class or interface in java.lang" > Cloneable< / A > < / DD >
< / DL >
< HR >
< DL >
< DT > < PRE > public class < B > mxLine< / B > < DT > extends < A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > < / DL >
< / PRE >
< P >
Implements a line with double precision coordinates.
< P >
< P >
< DL >
< DT > < B > See Also:< / B > < DD > < A HREF = "../../../serialized-form.html#com.mxgraph.util.mxLine" > Serialized Form< / A > < / DL >
< HR >
< P >
<!-- =========== FIELD SUMMARY =========== -->
< A NAME = "field_summary" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "2" > < FONT SIZE = "+2" >
< B > Field Summary< / B > < / FONT > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > protected < A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > < / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../com/mxgraph/util/mxLine.html#endPoint" > endPoint< / A > < / B > < / CODE >
< BR >
The end point of the line< / TD >
< / TR >
< / TABLE >
< A NAME = "fields_inherited_from_class_com.mxgraph.util.mxPoint" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#EEEEFF" CLASS = "TableSubHeadingColor" >
< TH ALIGN = "left" > < B > Fields inherited from class com.mxgraph.util.< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > < / B > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < A HREF = "../../../com/mxgraph/util/mxPoint.html#x" > x< / A > , < A HREF = "../../../com/mxgraph/util/mxPoint.html#y" > y< / A > < / CODE > < / TD >
< / TR >
< / TABLE >
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
< A NAME = "constructor_summary" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "2" > < FONT SIZE = "+2" >
< B > Constructor Summary< / B > < / FONT > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < B > < A HREF = "../../../com/mxgraph/util/mxLine.html#mxLine(double, double, com.mxgraph.util.mxPoint)" > mxLine< / A > < / B > (double startPtX,
double startPtY,
< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > endPt)< / CODE >
< BR >
Creates a new line< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < B > < A HREF = "../../../com/mxgraph/util/mxLine.html#mxLine(com.mxgraph.util.mxPoint, com.mxgraph.util.mxPoint)" > mxLine< / A > < / B > (< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > startPt,
< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > endPt)< / CODE >
< BR >
Creates a new line< / TD >
< / TR >
< / TABLE >
<!-- ========== METHOD SUMMARY =========== -->
< A NAME = "method_summary" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "2" > < FONT SIZE = "+2" >
< B > Method Summary< / B > < / FONT > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > < A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > < / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../com/mxgraph/util/mxLine.html#getEndPoint()" > getEndPoint< / A > < / B > ()< / CODE >
< BR >
Returns the end point of the line.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > double< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../com/mxgraph/util/mxLine.html#ptLineDistSq(com.mxgraph.util.mxPoint)" > ptLineDistSq< / A > < / B > (< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > pt)< / CODE >
< BR >
Returns the square of the shortest distance from a point to this line.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > double< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../com/mxgraph/util/mxLine.html#ptSegDistSq(com.mxgraph.util.mxPoint)" > ptSegDistSq< / A > < / B > (< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > pt)< / CODE >
< BR >
Returns the square of the shortest distance from a point to this
line segment.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > void< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../com/mxgraph/util/mxLine.html#setEndPoint(com.mxgraph.util.mxPoint)" > setEndPoint< / A > < / B > (< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > value)< / CODE >
< BR >
Sets the end point of the rectangle.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > void< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../com/mxgraph/util/mxLine.html#setPoints(com.mxgraph.util.mxPoint, com.mxgraph.util.mxPoint)" > setPoints< / A > < / B > (< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > startPt,
< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > endPt)< / CODE >
< BR >
Sets the start and end points.< / TD >
< / TR >
< / TABLE >
< A NAME = "methods_inherited_from_class_com.mxgraph.util.mxPoint" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#EEEEFF" CLASS = "TableSubHeadingColor" >
< TH ALIGN = "left" > < B > Methods inherited from class com.mxgraph.util.< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > < / B > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < A HREF = "../../../com/mxgraph/util/mxPoint.html#clone()" > clone< / A > , < A HREF = "../../../com/mxgraph/util/mxPoint.html#equals(java.lang.Object)" > equals< / A > , < A HREF = "../../../com/mxgraph/util/mxPoint.html#getPoint()" > getPoint< / A > , < A HREF = "../../../com/mxgraph/util/mxPoint.html#getX()" > getX< / A > , < A HREF = "../../../com/mxgraph/util/mxPoint.html#getY()" > getY< / A > , < A HREF = "../../../com/mxgraph/util/mxPoint.html#setX(double)" > setX< / A > , < A HREF = "../../../com/mxgraph/util/mxPoint.html#setY(double)" > setY< / A > , < A HREF = "../../../com/mxgraph/util/mxPoint.html#toString()" > toString< / A > < / CODE > < / TD >
< / TR >
< / TABLE >
< A NAME = "methods_inherited_from_class_java.lang.Object" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#EEEEFF" CLASS = "TableSubHeadingColor" >
< TH ALIGN = "left" > < B > Methods inherited from class java.lang.< A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title = "class or interface in java.lang" > Object< / A > < / B > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title = "class or interface in java.lang" > finalize< / A > , < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title = "class or interface in java.lang" > getClass< / A > , < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title = "class or interface in java.lang" > hashCode< / A > , < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title = "class or interface in java.lang" > notify< / A > , < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title = "class or interface in java.lang" > notifyAll< / A > , < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title = "class or interface in java.lang" > wait< / A > , < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title = "class or interface in java.lang" > wait< / A > , < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title = "class or interface in java.lang" > wait< / A > < / CODE > < / TD >
< / TR >
< / TABLE >
< P >
<!-- ============ FIELD DETAIL =========== -->
< A NAME = "field_detail" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "1" > < FONT SIZE = "+2" >
< B > Field Detail< / B > < / FONT > < / TH >
< / TR >
< / TABLE >
< A NAME = "endPoint" > <!-- --> < / A > < H3 >
endPoint< / H3 >
< PRE >
protected < A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > < B > endPoint< / B > < / PRE >
< DL >
< DD > The end point of the line
< P >
< DL >
< / DL >
< / DL >
<!-- ========= CONSTRUCTOR DETAIL ======== -->
< A NAME = "constructor_detail" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "1" > < FONT SIZE = "+2" >
< B > Constructor Detail< / B > < / FONT > < / TH >
< / TR >
< / TABLE >
< A NAME = "mxLine(com.mxgraph.util.mxPoint, com.mxgraph.util.mxPoint)" > <!-- --> < / A > < H3 >
mxLine< / H3 >
< PRE >
public < B > mxLine< / B > (< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > startPt,
< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > endPt)< / PRE >
< DL >
< DD > Creates a new line
< P >
< / DL >
< HR >
< A NAME = "mxLine(double, double, com.mxgraph.util.mxPoint)" > <!-- --> < / A > < H3 >
mxLine< / H3 >
< PRE >
public < B > mxLine< / B > (double startPtX,
double startPtY,
< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > endPt)< / PRE >
< DL >
< DD > Creates a new line
< P >
< / DL >
<!-- ============ METHOD DETAIL ========== -->
< A NAME = "method_detail" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "1" > < FONT SIZE = "+2" >
< B > Method Detail< / B > < / FONT > < / TH >
< / TR >
< / TABLE >
< A NAME = "getEndPoint()" > <!-- --> < / A > < H3 >
getEndPoint< / H3 >
< PRE >
public < A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > < B > getEndPoint< / B > ()< / PRE >
< DL >
< DD > Returns the end point of the line.
< P >
< DD > < DL >
< DT > < B > Returns:< / B > < DD > Returns the end point of the line.< / DL >
< / DD >
< / DL >
< HR >
< A NAME = "setEndPoint(com.mxgraph.util.mxPoint)" > <!-- --> < / A > < H3 >
setEndPoint< / H3 >
< PRE >
public void < B > setEndPoint< / B > (< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > value)< / PRE >
< DL >
< DD > Sets the end point of the rectangle.
< P >
< DD > < DL >
< DT > < B > Parameters:< / B > < DD > < CODE > value< / CODE > - The new end point of the line< / DL >
< / DD >
< / DL >
< HR >
< A NAME = "setPoints(com.mxgraph.util.mxPoint, com.mxgraph.util.mxPoint)" > <!-- --> < / A > < H3 >
setPoints< / H3 >
< PRE >
public void < B > setPoints< / B > (< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > startPt,
< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > endPt)< / PRE >
< DL >
< DD > Sets the start and end points.
< P >
< DD > < DL >
< / DL >
< / DD >
< / DL >
< HR >
< A NAME = "ptLineDistSq(com.mxgraph.util.mxPoint)" > <!-- --> < / A > < H3 >
ptLineDistSq< / H3 >
< PRE >
public double < B > ptLineDistSq< / B > (< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > pt)< / PRE >
< DL >
< DD > Returns the square of the shortest distance from a point to this line.
The line is considered extrapolated infinitely in both directions for
the purposes of the calculation.
< P >
< DD > < DL >
< DT > < B > Parameters:< / B > < DD > < CODE > pt< / CODE > - the point whose distance is being measured
< DT > < B > Returns:< / B > < DD > the square of the distance from the specified point to this line.< / DL >
< / DD >
< / DL >
< HR >
< A NAME = "ptSegDistSq(com.mxgraph.util.mxPoint)" > <!-- --> < / A > < H3 >
ptSegDistSq< / H3 >
< PRE >
public double < B > ptSegDistSq< / B > (< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / A > pt)< / PRE >
< DL >
< DD > Returns the square of the shortest distance from a point to this
line segment.
< P >
< DD > < DL >
< DT > < B > Parameters:< / B > < DD > < CODE > pt< / CODE > - the point whose distance is being measured
< DT > < B > Returns:< / B > < DD > the square of the distance from the specified point to this segment.< / DL >
< / DD >
< / DL >
<!-- ========= END OF CLASS DATA ========= -->
< HR >
<!-- ======= START OF BOTTOM NAVBAR ====== -->
< A NAME = "navbar_bottom" > <!-- --> < / A >
< A HREF = "#skip-navbar_bottom" title = "Skip navigation links" > < / A >
< TABLE BORDER = "0" WIDTH = "100%" CELLPADDING = "1" CELLSPACING = "0" SUMMARY = "" >
< TR >
< TD COLSPAN = 2 BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" >
< A NAME = "navbar_bottom_firstrow" > <!-- --> < / A >
< TABLE BORDER = "0" CELLPADDING = "0" CELLSPACING = "3" SUMMARY = "" >
< 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 = "class-use/mxLine.html" > < FONT CLASS = "NavBarFont1" > < B > Use< / B > < / FONT > < / A > < / 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 >
2014-03-14 13:24:50 +00:00
< p > < b > mxGraph 2.5.0.3< / b > < / p > < / EM >
2012-05-21 20:32:26 +00:00
< / TD >
< / TR >
< TR >
< TD BGCOLOR = "white" CLASS = "NavBarCell2" > < FONT SIZE = "-2" >
< A HREF = "../../../com/mxgraph/util/mxLightweightLabel.html" title = "class in com.mxgraph.util" > < B > PREV CLASS< / B > < / A >
< A HREF = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > < B > NEXT CLASS< / B > < / A > < / FONT > < / TD >
< TD BGCOLOR = "white" CLASS = "NavBarCell2" > < FONT SIZE = "-2" >
< A HREF = "../../../index.html?com/mxgraph/util/mxLine.html" target = "_top" > < B > FRAMES< / B > < / A >
< A HREF = "mxLine.html" target = "_top" > < B > NO FRAMES< / B > < / A >
< SCRIPT type = "text/javascript" >
<!--
if(window==top) {
document.writeln('< A HREF = "../../../allclasses-noframe.html" > < B > All Classes< / B > < / A > ');
}
//-->
< / SCRIPT >
< NOSCRIPT >
< A HREF = "../../../allclasses-noframe.html" > < B > All Classes< / B > < / A >
< / NOSCRIPT >
< / FONT > < / TD >
< / TR >
< TR >
< TD VALIGN = "top" CLASS = "NavBarCell3" > < FONT SIZE = "-2" >
SUMMARY: NESTED | < 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 >
< A NAME = "skip-navbar_bottom" > < / A >
<!-- ======== END OF BOTTOM NAVBAR ======= -->
< HR >
< font size = 1 > Copyright (c) 2010 < a href = "http://www.mxgraph.com/"
target="_blank">Gaudenz Alder, David Benson< / a > . All rights reserved.< / font >
< / BODY >
< / HTML >