Point Class |
[This is preliminary documentation and is subject to change.]
Namespace: Infrastructure.Geometry
public sealed class Point : IEquatable<Point>
The Point type exposes the following members.
Name | Description | |
---|---|---|
Point(Double, Double, Double) |
Creates a new point. X, Y and Z are expressed in meters
| |
Point(Length, Length, Length) |
Creates a new point.
| |
Point(NullableLength, NullableLength, NullableLength) |
Name | Description | |
---|---|---|
X |
The value of X in 3D space
| |
Y |
The value of Y in 3D space
| |
Z |
The value of Z in 3D space
|
Name | Description | |
---|---|---|
Equals(Object) |
Checks if this instance is equal to the provided object
(Overrides ObjectEquals(Object).) | |
Equals(Point) |
Checks if this instance is equal to the provided instance
| |
GetHashCode |
Calculates the hashcode of this instance.
(Overrides ObjectGetHashCode.) | |
ToString |
Returns a user-friendly string representation of this point in 3D space (X, Y, Z)
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Addition |
Performs a translation of the given point, using the given translation vector.
| |
Equality |
Checks if both points are equal
| |
(Vector to Point) |
Converts a vector into a point
| |
Inequality |
Checks if both points are not equal
| |
Subtraction(Point, Point) |
Calculates the vector that describes the change in XYZ to go from first to second | |
Subtraction(Point, Vector) |
Performs a translation of the given point, using the given translation vector.
|