2012-05-21 20:32:26 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< title > mxGraph: com::mxgraph::mxPoint Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
<!-- Generated by Doxygen 1.6.3 -->
< div class = "navigation" id = "top" >
< div class = "tabs" >
< ul >
< li > < a href = "index.html" > < span > Main Page< / span > < / a > < / li >
< li class = "current" > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "dirs.html" > < span > Directories< / span > < / a > < / li >
< / ul >
< / div >
< div class = "tabs" >
< ul >
< li > < a href = "annotated.html" > < span > Class List< / span > < / a > < / li >
< li > < a href = "hierarchy.html" > < span > Class Hierarchy< / span > < / a > < / li >
< li > < a href = "functions.html" > < span > Class Members< / span > < / a > < / li >
< / ul >
< / div >
< div class = "navpath" > < b > com< / b > ::< b > mxgraph< / b > ::< a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html" > mxPoint< / a >
< / div >
< / div >
< div class = "contents" >
< h1 > com::mxgraph::mxPoint Class Reference< / h1 > <!-- doxytag: class="com::mxgraph::mxPoint" -->
< p > Implements a 2-dimensional point with double precision coordinates.
< a href = "#_details" > More...< / a > < / p >
< div class = "dynheader" >
Inheritance diagram for com::mxgraph::mxPoint:< / div >
< div class = "dynsection" >
< div class = "center" >
< img src = "classcom_1_1mxgraph_1_1mxPoint.png" usemap = "#com::mxgraph::mxPoint_map" alt = "" / >
< map id = "com::mxgraph::mxPoint_map" name = "com::mxgraph::mxPoint_map" >
< area href = "classcom_1_1mxgraph_1_1mxRectangle.html" alt = "com::mxgraph::mxRectangle" shape = "rect" coords = "88,56,254,80" / >
< area href = "classcom_1_1mxgraph_1_1mxCellState.html" alt = "com::mxgraph::mxCellState" shape = "rect" coords = "0,112,166,136" / >
< area href = "classcom_1_1mxgraph_1_1mxGeometry.html" alt = "com::mxgraph::mxGeometry" shape = "rect" coords = "176,112,342,136" / >
< / map >
< / div >
< / div >
< p > < a href = "classcom_1_1mxgraph_1_1mxPoint-members.html" > List of all members.< / a > < / p >
< table border = "0" cellpadding = "0" cellspacing = "0" >
< tr > < td colspan = "2" > < h2 > Public Member Functions< / h2 > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#a8943bd2fe6aff4d841581e33fb33c8bc" > mxPoint< / a > ()< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Constructs a new point at (0, 0). < a href = "#a8943bd2fe6aff4d841581e33fb33c8bc" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#af513f614c1d5d3aa402d7919d49b8667" > mxPoint< / a > (Point point)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Constructs a new point at the location of the given point. < a href = "#af513f614c1d5d3aa402d7919d49b8667" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#a1911916b08fe58a430eb20efc5b89b10" > mxPoint< / a > (< a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html" > mxPoint< / a > point)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Constructs a new point at the location of the given point. < a href = "#a1911916b08fe58a430eb20efc5b89b10" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#acf10031952dfe1a9281b6d2db60366c8" > mxPoint< / a > (double < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#afc249ce7075359af93ac0001d719ff06" > x< / a > , double < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#a48641b42a2187e4d6fedca61c359be77" > y< / a > )< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Constructs a new point at (x, y). < a href = "#acf10031952dfe1a9281b6d2db60366c8" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > Point < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#a45f04749b99d031c57c707f505cc5290" > GetPoint< / a > ()< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Returns the coordinates as a new point. < a href = "#a45f04749b99d031c57c707f505cc5290" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > new Boolean < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#a6a68cb2cfd1256e32bd4add2c5fc9aa1" > Equals< / a > (Object obj)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Returns true if the given object equals this point. < a href = "#a6a68cb2cfd1256e32bd4add2c5fc9aa1" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html" > mxPoint< / a > < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#a8c6344af8fbe69d3432fbb6018011a27" > Clone< / a > ()< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Returns a new instance of the same point. < a href = "#a8c6344af8fbe69d3432fbb6018011a27" > < / a > < br / > < / td > < / tr >
< tr > < td colspan = "2" > < h2 > Protected Attributes< / h2 > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > double < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#afc249ce7075359af93ac0001d719ff06" > x< / a > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Holds the x-coordinate of the point. Default is 0. < a href = "#afc249ce7075359af93ac0001d719ff06" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > double < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#a48641b42a2187e4d6fedca61c359be77" > y< / a > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Holds the y-coordinate of the point. Default is 0. < a href = "#a48641b42a2187e4d6fedca61c359be77" > < / a > < br / > < / td > < / tr >
< tr > < td colspan = "2" > < h2 > Properties< / h2 > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > double < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#a47119ed72239e13dec2d0d196f408158" > X< / a > < code > [get, set]< / code > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Sets or returns the x-coordinate of the point. < a href = "#a47119ed72239e13dec2d0d196f408158" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > double < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#a67b180bcd4e2e691c9a0c7ed38c16c38" > Y< / a > < code > [get, set]< / code > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Sets or returns the y-coordinate of the point. < a href = "#a67b180bcd4e2e691c9a0c7ed38c16c38" > < / a > < br / > < / td > < / tr >
< / table >
< hr / > < a name = "_details" > < / a > < h2 > Detailed Description< / h2 >
< p > Implements a 2-dimensional point with double precision coordinates. < / p >
< hr / > < h2 > Constructor & Destructor Documentation< / h2 >
< a class = "anchor" id = "a8943bd2fe6aff4d841581e33fb33c8bc" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::mxPoint" ref="a8943bd2fe6aff4d841581e33fb33c8bc" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > com::mxgraph::mxPoint::mxPoint < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Constructs a new point at (0, 0). < / p >
< / div >
< / div >
< a class = "anchor" id = "af513f614c1d5d3aa402d7919d49b8667" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::mxPoint" ref="af513f614c1d5d3aa402d7919d49b8667" args="(Point point)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > com::mxgraph::mxPoint::mxPoint < / td >
< td > (< / td >
< td class = "paramtype" > Point < / td >
< td class = "paramname" > < em > point< / em > < / td >
< td > ) < / td >
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Constructs a new point at the location of the given point. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > point< / em > < / td > < td > Point that specifies the location.< / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "a1911916b08fe58a430eb20efc5b89b10" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::mxPoint" ref="a1911916b08fe58a430eb20efc5b89b10" args="(mxPoint point)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > com::mxgraph::mxPoint::mxPoint < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html" > mxPoint< / a > < / td >
< td class = "paramname" > < em > point< / em > < / td >
< td > ) < / td >
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Constructs a new point at the location of the given point. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > point< / em > < / td > < td > Point that specifies the location.< / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "acf10031952dfe1a9281b6d2db60366c8" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::mxPoint" ref="acf10031952dfe1a9281b6d2db60366c8" args="(double x, double y)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > com::mxgraph::mxPoint::mxPoint < / td >
< td > (< / td >
< td class = "paramtype" > double < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > double < / td >
< td class = "paramname" > < em > y< / em > < / td > < td > < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td > < td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Constructs a new point at (x, y). < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > x< / em > < / td > < td > X-coordinate of the point to be created.< / td > < / tr >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > y< / em > < / td > < td > Y-coordinate of the point to be created.< / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< hr / > < h2 > Member Function Documentation< / h2 >
< a class = "anchor" id = "a8c6344af8fbe69d3432fbb6018011a27" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::Clone" ref="a8c6344af8fbe69d3432fbb6018011a27" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html" > mxPoint< / a > com::mxgraph::mxPoint::Clone < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Returns a new instance of the same point. < / p >
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > Returns a clone of the point.< / dd > < / dl >
< p > Reimplemented in < a class = "el" href = "classcom_1_1mxgraph_1_1mxGeometry.html#a1bc5e0feb17c50f9bab5853af0e089f0" > com::mxgraph::mxGeometry< / a > , < a class = "el" href = "classcom_1_1mxgraph_1_1mxRectangle.html#aa9e9e649efa5ad7239db970ec735e846" > com::mxgraph::mxRectangle< / a > , and < a class = "el" href = "classcom_1_1mxgraph_1_1mxCellState.html#a7a357573a28f227b884eb6a798b1c2df" > com::mxgraph::mxCellState< / a > .< / p >
< / div >
< / div >
< a class = "anchor" id = "a6a68cb2cfd1256e32bd4add2c5fc9aa1" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::Equals" ref="a6a68cb2cfd1256e32bd4add2c5fc9aa1" args="(Object obj)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > new Boolean com::mxgraph::mxPoint::Equals < / td >
< td > (< / td >
< td class = "paramtype" > Object < / td >
< td class = "paramname" > < em > obj< / em > < / td >
< td > ) < / td >
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Returns true if the given object equals this point. < / p >
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > Returns true if obj is equal.< / dd > < / dl >
< p > Reimplemented in < a class = "el" href = "classcom_1_1mxgraph_1_1mxRectangle.html#afa2600d85162a1db0129650b4e636448" > com::mxgraph::mxRectangle< / a > .< / p >
< / div >
< / div >
< a class = "anchor" id = "a45f04749b99d031c57c707f505cc5290" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::GetPoint" ref="a45f04749b99d031c57c707f505cc5290" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > Point com::mxgraph::mxPoint::GetPoint < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Returns the coordinates as a new point. < / p >
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > Returns a new point for the location.< / dd > < / dl >
< / div >
< / div >
< hr / > < h2 > Member Data Documentation< / h2 >
< a class = "anchor" id = "afc249ce7075359af93ac0001d719ff06" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::x" ref="afc249ce7075359af93ac0001d719ff06" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > double < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#afc249ce7075359af93ac0001d719ff06" > com::mxgraph::mxPoint::x< / a > < code > [protected]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Holds the x-coordinate of the point. Default is 0. < / p >
< / div >
< / div >
< a class = "anchor" id = "a48641b42a2187e4d6fedca61c359be77" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::y" ref="a48641b42a2187e4d6fedca61c359be77" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > double < a class = "el" href = "classcom_1_1mxgraph_1_1mxPoint.html#a48641b42a2187e4d6fedca61c359be77" > com::mxgraph::mxPoint::y< / a > < code > [protected]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Holds the y-coordinate of the point. Default is 0. < / p >
< / div >
< / div >
< hr / > < h2 > Property Documentation< / h2 >
< a class = "anchor" id = "a47119ed72239e13dec2d0d196f408158" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::X" ref="a47119ed72239e13dec2d0d196f408158" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > double com::mxgraph::mxPoint::X< code > [get, set]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Sets or returns the x-coordinate of the point. < / p >
< / div >
< / div >
< a class = "anchor" id = "a67b180bcd4e2e691c9a0c7ed38c16c38" > < / a > <!-- doxytag: member="com::mxgraph::mxPoint::Y" ref="a67b180bcd4e2e691c9a0c7ed38c16c38" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > double com::mxgraph::mxPoint::Y< code > [get, set]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Sets or returns the y-coordinate of the point. < / p >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following file:< ul >
< li > src/utils/mxPoint.cs< / li >
< / ul >
< / div >
2012-10-29 20:17:12 +00:00
< hr class = "footer" / > < address style = "text-align: right;" > < small > Generated on Mon Oct 29 20:11:50 2012 for mxGraph by
2012-05-21 20:32:26 +00:00
< a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.6.3 < / small > < / address >
< / body >
< / html >