<?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=Point3D</id>
	<title>Point3D - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://jimandi.com/SDK/index.php?action=history&amp;feed=atom&amp;title=Point3D"/>
	<link rel="alternate" type="text/html" href="https://jimandi.com/SDK/index.php?title=Point3D&amp;action=history"/>
	<updated>2026-10-25T11:58:11Z</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=Point3D&amp;diff=69&amp;oldid=prev</id>
		<title>WikiSysop: Created page with &quot; link=Low Level Geometry Category:SDK This object represents a 3D point (X,Y and Z values). It is used by many other objects and can also be u...&quot;</title>
		<link rel="alternate" type="text/html" href="https://jimandi.com/SDK/index.php?title=Point3D&amp;diff=69&amp;oldid=prev"/>
		<updated>2021-08-04T03:31:49Z</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 3D point (X,Y and Z values). It is used by many other objects and can also be u...&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 3D point (X,Y and Z values). It is used by many other objects and can also be used with other geometry objects such as Vector3D to perform calculations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Constructor==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Point3D()===&lt;br /&gt;
This construct an uninitialised point with invalid x, y and z values which can be tested for using the .IsInvalid property.&lt;br /&gt;
&lt;br /&gt;
===Point3D(double x, double y, double z)===&lt;br /&gt;
A new point with the specified X, Y and Z values &lt;br /&gt;
&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;
::''z(double) the value for the z coordinate of the point''&lt;br /&gt;
&lt;br /&gt;
===Point3D( Point3D pt)===&lt;br /&gt;
A new point with the same X, Y and Z values as the passed point &lt;br /&gt;
::''pt (Point3D) an existing point to copy X, Y and Z values from''&lt;br /&gt;
&lt;br /&gt;
===Point3D( Point2D pt, double z)===&lt;br /&gt;
Create a new point with x and y values from passed 2D point and new z value &lt;br /&gt;
::''pt (Point2D)2D point holding x and y values for point ''&lt;br /&gt;
::''z(double) new z value for point''&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&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;
&lt;br /&gt;
===.Z or .z=== &lt;br /&gt;
'''Interaction:''' Read and Write&lt;br /&gt;
&lt;br /&gt;
'''Returns:''' (double) z coordinate for point &lt;br /&gt;
&lt;br /&gt;
===.IsInvalid ===&lt;br /&gt;
'''Returns:''' (bool) true if the point is invalid (not initialized or :SetInvalid called)&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===:IsCoincident( Point3D point, double tol)===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Returns:''' (bool) true if passed point is coincident with this point within passed tolerance &lt;br /&gt;
::''point (Point3D)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, double z)===&lt;br /&gt;
Set new x, y and z values for the point &lt;br /&gt;
::''x(double) new x value for point ''&lt;br /&gt;
::''y(double) new y value for point'' &lt;br /&gt;
::''z(double) new z value for point''&lt;br /&gt;
&lt;br /&gt;
===:Set( Point2D pt, double z)===&lt;br /&gt;
Set new x and y values from passed 2D point and new z value &lt;br /&gt;
::''pt (Point2D) 2D point holding new x and y values for point'' &lt;br /&gt;
::''z (double) new z value for point''&lt;br /&gt;
&lt;br /&gt;
===:SetInvalid()===&lt;br /&gt;
Set the point to invalid state X,Y and Z will be lost&lt;br /&gt;
&lt;br /&gt;
==Operations==&lt;br /&gt;
&lt;br /&gt;
===Matrix2D * Point3D===&lt;br /&gt;
Multiplying a matrix by a point returns a transformed point. The Z value is unchanged&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Point3D - Point3D===&lt;br /&gt;
Subtracting a point from another point will returns a Vector3D with the difference between the 2 points.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Point3D + Vector3D===&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;
===Point3D - Vector3D===&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;
&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>