Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.Point3d Class Reference

Last update: 16.07.2025

A mathematical point in 3D. More...

Public Member Functions

 Point3d ()
 Initializes a new instance of the Point3d class.
 
 Point3d (Point3d p)
 Copy constructor.
 
 Point3d (double x, double y, double z)
 Initializes a new instance of the Point3d class.
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static bool operator== (Point3d first, Point3d second)
 
static bool operator!= (Point3d first, Point3d second)
 
static Point3d operator+ (Point3d firstOperand, Point3d secondOperand)
 
static Point3d operator+ (Point3d firstOperand, Vector3d secondOperand)
 
static Vector3d operator- (Point3d a, Point3d b)
 

Properties

Dimensional< ModelLengthX [get, set]
 
Dimensional< ModelLengthY [get, set]
 
Dimensional< ModelLengthZ [get, set]
 

Detailed Description

A mathematical point in 3D.

Constructor & Destructor Documentation

◆ Point3d() [1/3]

OpenTD.Point3d.Point3d ( )
inline

Initializes a new instance of the Point3d class.

◆ Point3d() [2/3]

OpenTD.Point3d.Point3d ( Point3d p)
inline

Copy constructor.

Parameters
pThe Point3d to copy from.

◆ Point3d() [3/3]

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

Initializes a new instance of the Point3d class.

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

Member Function Documentation

◆ Equals()

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

◆ GetHashCode()

override int OpenTD.Point3d.GetHashCode ( )
inline

◆ operator!=()

static bool OpenTD.Point3d.operator!= ( Point3d first,
Point3d second )
inlinestatic

◆ operator+() [1/2]

static Point3d OpenTD.Point3d.operator+ ( Point3d firstOperand,
Point3d secondOperand )
inlinestatic

◆ operator+() [2/2]

static Point3d OpenTD.Point3d.operator+ ( Point3d firstOperand,
Vector3d secondOperand )
inlinestatic

◆ operator-()

static Vector3d OpenTD.Point3d.operator- ( Point3d a,
Point3d b )
inlinestatic

◆ operator==()

static bool OpenTD.Point3d.operator== ( Point3d first,
Point3d second )
inlinestatic

◆ ToString()

override string OpenTD.Point3d.ToString ( )
inline

Property Documentation

◆ X

Dimensional<ModelLength> OpenTD.Point3d.X
getset

◆ Y

Dimensional<ModelLength> OpenTD.Point3d.Y
getset

◆ Z

Dimensional<ModelLength> 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

Connect with Ansys