    

 ## On this page

  

 

 # OpenTD.Point3d Class Reference

 Last update: 16.07.2025 

A mathematical point in 3D. [More...](#details)

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [Point3d](#a4cd7e445d6cff3c268bd88862ce663a5) () Initializes a new instance of the [Point3d](class_open_t_d_1_1_point3d.xhtml "A mathematical point in 3D.") class.   
  [Point3d](#a594ca220d6e253b005586f5fefc3f4c3) ([Point3d](class_open_t_d_1_1_point3d.xhtml) p) Copy constructor.   
  [Point3d](#ae36d4723d4b2c9b6e463ebcc16e0954e) (double x, double y, double z) Initializes a new instance of the [Point3d](class_open_t_d_1_1_point3d.xhtml "A mathematical point in 3D.") class.   
 override bool [Equals](#a6784ebc9d2833b3de73d03f3ac9a25ad) (object obj) override int [GetHashCode](#a6725ad66cbfe82ee3061f5129a4e7bf2) () override string [ToString](#a27126efcf352e31be1b7693267c5ccb9) () ## <a id="pub-static-methods" name="pub-static-methods"></a>Static Public Member Functions

static bool [operator==](#a77d1e6899f015fc918fb2b449ceb77a6) ([Point3d](class_open_t_d_1_1_point3d.xhtml) first, [Point3d](class_open_t_d_1_1_point3d.xhtml) second) static bool [operator!=](#ae02975456ee861d144d80ae95eff22da) ([Point3d](class_open_t_d_1_1_point3d.xhtml) first, [Point3d](class_open_t_d_1_1_point3d.xhtml) second) static [Point3d](class_open_t_d_1_1_point3d.xhtml) [operator+](#ace6d99c29073ce8d56122de36cf514ca) ([Point3d](class_open_t_d_1_1_point3d.xhtml) firstOperand, [Point3d](class_open_t_d_1_1_point3d.xhtml) secondOperand) static [Point3d](class_open_t_d_1_1_point3d.xhtml) [operator+](#a387954893388c5497ade51122342dd83) ([Point3d](class_open_t_d_1_1_point3d.xhtml) firstOperand, [Vector3d](class_open_t_d_1_1_vector3d.xhtml) secondOperand) static [Vector3d](class_open_t_d_1_1_vector3d.xhtml) [operator-](#aff4377c94efd7d6223e5799932168fb3) ([Point3d](class_open_t_d_1_1_point3d.xhtml) a, [Point3d](class_open_t_d_1_1_point3d.xhtml) b) ## <a id="properties" name="properties"></a>Properties

Dimensional&lt; [ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml) &gt; [X](#aee2db187bae3fa3830665a062ef13eb8)` [get, set]` Dimensional&lt; [ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml) &gt; [Y](#a12211265a90d9d8b51397d2654a9e738)` [get, set]` Dimensional&lt; [ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml) &gt; [Z](#a6b45e72dceb3cc0ef98e5cc6f459d4ba)` [get, set]` <a id="details" name="details"></a>## Detailed Description

A mathematical point in 3D.



## Constructor &amp; Destructor Documentation

<a id="a4cd7e445d6cff3c268bd88862ce663a5" name="a4cd7e445d6cff3c268bd88862ce663a5"></a>## [◆ ](#a4cd7e445d6cff3c268bd88862ce663a5)Point3d() \[1/3\]

 OpenTD.Point3d.Point3d  ( )   inline 

Initializes a new instance of the [Point3d](class_open_t_d_1_1_point3d.xhtml "A mathematical point in 3D.") class.





<a id="a594ca220d6e253b005586f5fefc3f4c3" name="a594ca220d6e253b005586f5fefc3f4c3"></a>## [◆ ](#a594ca220d6e253b005586f5fefc3f4c3)Point3d() \[2/3\]

 OpenTD.Point3d.Point3d  ( [Point3d](class_open_t_d_1_1_point3d.xhtml) *p*)   inline 

Copy constructor.

Parameters pThe [Point3d](class_open_t_d_1_1_point3d.xhtml "A mathematical point in 3D.") to copy from.



<a id="ae36d4723d4b2c9b6e463ebcc16e0954e" name="ae36d4723d4b2c9b6e463ebcc16e0954e"></a>## [◆ ](#ae36d4723d4b2c9b6e463ebcc16e0954e)Point3d() \[3/3\]

 OpenTD.Point3d.Point3d  ( double *x*,    double *y*,    double *z* )  inline 

Initializes a new instance of the [Point3d](class_open_t_d_1_1_point3d.xhtml "A mathematical point in 3D.") class.

Parameters xThe x value.yThe y value.zThe z value.



## Member Function Documentation

<a id="a6784ebc9d2833b3de73d03f3ac9a25ad" name="a6784ebc9d2833b3de73d03f3ac9a25ad"></a>## [◆ ](#a6784ebc9d2833b3de73d03f3ac9a25ad)Equals()

 override bool OpenTD.Point3d.Equals  ( object *obj*)   inline 





<a id="a6725ad66cbfe82ee3061f5129a4e7bf2" name="a6725ad66cbfe82ee3061f5129a4e7bf2"></a>## [◆ ](#a6725ad66cbfe82ee3061f5129a4e7bf2)GetHashCode()

 override int OpenTD.Point3d.GetHashCode  ( )   inline 





<a id="ae02975456ee861d144d80ae95eff22da" name="ae02975456ee861d144d80ae95eff22da"></a>## [◆ ](#ae02975456ee861d144d80ae95eff22da)operator!=()

 static bool OpenTD.Point3d.operator!=  ( [Point3d](class_open_t_d_1_1_point3d.xhtml) *first*,    [Point3d](class_open_t_d_1_1_point3d.xhtml) *second* )  inlinestatic 





<a id="ace6d99c29073ce8d56122de36cf514ca" name="ace6d99c29073ce8d56122de36cf514ca"></a>## [◆ ](#ace6d99c29073ce8d56122de36cf514ca)operator+() \[1/2\]

 static [Point3d](class_open_t_d_1_1_point3d.xhtml) OpenTD.Point3d.operator+  ( [Point3d](class_open_t_d_1_1_point3d.xhtml) *firstOperand*,    [Point3d](class_open_t_d_1_1_point3d.xhtml) *secondOperand* )  inlinestatic 





<a id="a387954893388c5497ade51122342dd83" name="a387954893388c5497ade51122342dd83"></a>## [◆ ](#a387954893388c5497ade51122342dd83)operator+() \[2/2\]

 static [Point3d](class_open_t_d_1_1_point3d.xhtml) OpenTD.Point3d.operator+  ( [Point3d](class_open_t_d_1_1_point3d.xhtml) *firstOperand*,    [Vector3d](class_open_t_d_1_1_vector3d.xhtml) *secondOperand* )  inlinestatic 





<a id="aff4377c94efd7d6223e5799932168fb3" name="aff4377c94efd7d6223e5799932168fb3"></a>## [◆ ](#aff4377c94efd7d6223e5799932168fb3)operator-()

 static [Vector3d](class_open_t_d_1_1_vector3d.xhtml) OpenTD.Point3d.operator-  ( [Point3d](class_open_t_d_1_1_point3d.xhtml) *a*,    [Point3d](class_open_t_d_1_1_point3d.xhtml) *b* )  inlinestatic 





<a id="a77d1e6899f015fc918fb2b449ceb77a6" name="a77d1e6899f015fc918fb2b449ceb77a6"></a>## [◆ ](#a77d1e6899f015fc918fb2b449ceb77a6)operator==()

 static bool OpenTD.Point3d.operator==  ( [Point3d](class_open_t_d_1_1_point3d.xhtml) *first*,    [Point3d](class_open_t_d_1_1_point3d.xhtml) *second* )  inlinestatic 





<a id="a27126efcf352e31be1b7693267c5ccb9" name="a27126efcf352e31be1b7693267c5ccb9"></a>## [◆ ](#a27126efcf352e31be1b7693267c5ccb9)ToString()

 override string OpenTD.Point3d.ToString  ( )   inline 





## Property Documentation

<a id="aee2db187bae3fa3830665a062ef13eb8" name="aee2db187bae3fa3830665a062ef13eb8"></a>## [◆ ](#aee2db187bae3fa3830665a062ef13eb8)X

 Dimensional&lt;[ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml)&gt; OpenTD.Point3d.X  getset 





<a id="a12211265a90d9d8b51397d2654a9e738" name="a12211265a90d9d8b51397d2654a9e738"></a>## [◆ ](#a12211265a90d9d8b51397d2654a9e738)Y

 Dimensional&lt;[ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml)&gt; OpenTD.Point3d.Y  getset 





<a id="a6b45e72dceb3cc0ef98e5cc6f459d4ba" name="a6b45e72dceb3cc0ef98e5cc6f459d4ba"></a>## [◆ ](#a6b45e72dceb3cc0ef98e5cc6f459d4ba)Z

 Dimensional&lt;[ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml)&gt; OpenTD.Point3d.Z  getset 





---

The documentation for this class was generated from the following file:- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/**Point3d.cs**