<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://jimandi.com/SDK/index.php?action=history&amp;feed=atom&amp;title=Point2D</id>
	<title>Point2D - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://jimandi.com/SDK/index.php?action=history&amp;feed=atom&amp;title=Point2D"/>
	<link rel="alternate" type="text/html" href="https://jimandi.com/SDK/index.php?title=Point2D&amp;action=history"/>
	<updated>2026-10-25T11:58:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://jimandi.com/SDK/index.php?title=Point2D&amp;diff=68&amp;oldid=prev</id>
		<title>WikiSysop: Created page with &quot;link=Low Level Geometry Category:SDK This object represents a 2D point (X and Y values only). It is used by many other objects and can also be...&quot;</title>
		<link rel="alternate" type="text/html" href="https://jimandi.com/SDK/index.php?title=Point2D&amp;diff=68&amp;oldid=prev"/>
		<updated>2021-08-04T03:31:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/SDK/index.php/File:Back.jpg&quot; title=&quot;File:Back.jpg&quot;&gt;right|50px|link=Low Level Geometry&lt;/a&gt; &lt;a href=&quot;/SDK/index.php?title=Category:SDK&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:SDK (page does not exist)&quot;&gt;Category:SDK&lt;/a&gt; This object represents a 2D point (X and Y values only). It is used by many other objects and can also be...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Back.jpg|right|50px|link=Low Level Geometry]]&lt;br /&gt;
[[Category:SDK]]&lt;br /&gt;
This object represents a 2D point (X and Y values only). It is used by many other objects and can also be used with other geometry objects such as Vector2D to perform calculations.&lt;br /&gt;
&lt;br /&gt;
==Constructor==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Point2D()===&lt;br /&gt;
This construct an uninitialised point with invalid x and y values which can be tested for using the .IsInvalid property&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Point2D(double x, double y)===&lt;br /&gt;
A new point with the specified X and Y values &lt;br /&gt;
::''x (double) the value for the x coordinate of the point ''&lt;br /&gt;
::''y (double) the value for the y coordinate of the point''&lt;br /&gt;
&lt;br /&gt;
===Point2D(Point2D pt)===&lt;br /&gt;
A new point with the same X and Y values as the passed point &lt;br /&gt;
::pt (Point2D) an existing point to copy X and Y values from&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===.IsInvalid=== &lt;br /&gt;
'''Returns:''' (bool) true if the point is invalid &lt;br /&gt;
&lt;br /&gt;
::'''Note:''' not initialised or:SetInvalid called&lt;br /&gt;
&lt;br /&gt;
===.X or .x=== &lt;br /&gt;
'''Interaction:''' Read and Write&lt;br /&gt;
&lt;br /&gt;
'''Returns:''' (double) x coordinate for point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===.Y  or .y=== &lt;br /&gt;
'''Interaction:''' Read and Write&lt;br /&gt;
&lt;br /&gt;
'''Returns:''' (double) y coordinate for point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===:IsCoincident( Point2D point, double tol)===&lt;br /&gt;
'''Returns:''' (bool) true if passed point is coincident with this point within passed tolerance &lt;br /&gt;
&lt;br /&gt;
::''point (Point2D)point to check for coincidence''&lt;br /&gt;
::''tol(double) maximum distance apart point can be and still be considered coincident''&lt;br /&gt;
&lt;br /&gt;
===:Set( double x, double y)===&lt;br /&gt;
Set both the x and y values for the point &lt;br /&gt;
&lt;br /&gt;
::''x(double) new x value for point''&lt;br /&gt;
::''y(double) new y value for point''&lt;br /&gt;
&lt;br /&gt;
===:SetInvalid()===&lt;br /&gt;
Set the point to invalid state X and Y will be lost&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Operations==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Matrix2D * Point2D===&lt;br /&gt;
Multiplying a matrix by a point returns a transformed point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Point2D - Point2D===&lt;br /&gt;
Subtracting a point from another point will returns a Vector2D with the difference between the 2 points.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Point2D + Vector2D===&lt;br /&gt;
Adding a vector to a point will returns a point displaced from original point by adding the vector&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Point2D - Vector2D===&lt;br /&gt;
Subtracting a vector from a point will returns a point displaced from original point by subtracting the vector&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Back.jpg|right|50px|link=Low Level Geometry]]&lt;br /&gt;
==References==&lt;br /&gt;
'''Please Note:''' The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 2.05, published September 12, 2018. by Vectric Ltd. Most current document from Vertric can be downloaded at [https://gadgets.vectric.com/developerinfo.html Vertric Developer Information]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>