Struct Point3D
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The Point3D is a struct that defines a 3D point.
[Obsolete("This has been deprecated in API12")]
public struct Point3D : IEquatable<Point3D>
- Implements
-
System.IEquatable<T><Point3D>
Fields
View SourceX
The X-coordinate of a 3D point.
Declaration
[Obsolete("This has been deprecated in API12")]
public int X
Field Value
Type | Description |
---|---|
int |
Y
The Y-coordinate of a 3D point.
Declaration
[Obsolete("This has been deprecated in API12")]
public int Y
Field Value
Type | Description |
---|---|
int |
Z
The Z-coordinate of a 3D point.
Declaration
[Obsolete("This has been deprecated in API12")]
public int Z
Field Value
Type | Description |
---|---|
int |
Methods
View SourceEquals(Point3D)
Indicates whether this instance and a Point3D object are equal.
Declaration
[Obsolete("This has been deprecated in API12")]
public bool Equals(Point3D other)
Parameters
Type | Name | Description |
---|---|---|
Point3D | other | The Point3D to compare with the current instance. |
Returns
Type | Description |
---|---|
bool | true if the object and this instance are of the same type and represent the same value. otherwise, false. |
Equals(object)
Indicates whether this instance and a specified object are equal.
Declaration
[Obsolete("This has been deprecated in API12")]
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
bool | true if the object and this instance are of the same type and represent the same value, otherwise false. |
Overrides
GetHashCode()
Declaration
[Obsolete("This has been deprecated in API12")]
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
ToString()
A human-readable representation of Point3D.
Declaration
[Obsolete("This has been deprecated in API12")]
public override string ToString()
Returns
Type | Description |
---|---|
string | The string is formatted as "{{X={0} Y={1} Z={2}}}". |
Overrides
Operators
View Sourceoperator ==(Point3D, Point3D)
Whether both Point3Ds are equal.
Declaration
[Obsolete("This has been deprecated in API12")]
public static bool operator ==(Point3D p1, Point3D p2)
Parameters
Type | Name | Description |
---|---|---|
Point3D | p1 | A Point3D on the left hand side. |
Point3D | p2 | A Point3D on the right hand side. |
Returns
Type | Description |
---|---|
bool | True if both Point3Ds have equal values. |
operator !=(Point3D, Point3D)
Whether both Point3Ds are not equal.
Declaration
[Obsolete("This has been deprecated in API12")]
public static bool operator !=(Point3D p1, Point3D p2)
Parameters
Type | Name | Description |
---|---|---|
Point3D | p1 | A Point3D on the left hand side. |
Point3D | p2 | A Point3D on the right hand side. |
Returns
Type | Description |
---|---|
bool | True if both Point3Ds do not have equal values. |