Point |
[SerializableAttribute] public struct Point4D
The Point4D type exposes the following members.
Name | Description | |
---|---|---|
Dimensions | Equals 4. | |
Item | Gets or sets the coordinate of the axis specified by index. | |
M | The M-coordinate. | |
Magnitude | Returns the distance between this point and the zero point. | |
X | The X-coordinate. | |
XY | Returns the point's XY coordinates. | |
XYZ | Returns the point's XYZ coordinates. | |
Y | The Y-coordinate. | |
Z | The Z-coordinate. |
Name | Description | |
---|---|---|
Equals(Object) |
Specifies whether this point contains the same coordinates as the specified object.
(Overrides ValueTypeEquals(Object)) | |
Equals(Point4D) | Specifies whether this point contains the same coordinates as the specified point. | |
FromString | Converts this point from a culture-invariant human-readable string, to the equivalent binary representation. | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode) | |
SetZero | Set all values to zero | |
ToAxisString | Returns a label of the specified axis. | |
ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString) | |
ToString(Int32) | Converts this point in a human-readable format showing its coordinates with the specified number of decimal digits, using a culture invariant representation. |
Name | Description | |
---|---|---|
Addition(Double, Point4D) | Adds a scalar to all the coordinates of a point, and returns a new point. | |
Addition(Point4D, Point4D) | Adds the coordinates of two points, and returns the result as a new point. | |
Addition(Point4D, Double) | Adds a scalar to all the coordinates of a point, and returns the result as a new point. | |
Division(Double, Point4D) | Divides the scalar by individual coordinates of a point, and returns the result as a new point. | |
Division(Point4D, Point4D) | Divides the individual axes of two points, and returns the result as a new point. | |
Division(Point4D, Double) | Divides all the coordinates of a point with a scalar, and returns the result as a new point. | |
Equality(Point4D, Point4D) | Compares two points with each other, and returns true if all coordinates are equal. | |
Inequality(Point4D, Point4D) | Compares two points with each other, and returns true if at least one pair of coordinates are different. | |
Multiply(Double, Point4D) | Multiplies all the coordinates of a point with a scalar, and returns the result as a new point. | |
Multiply(Point4D, Point4D) | Multiplies the individual axes of two points, and returns the result as a new point. | |
Multiply(Point4D, Double) | Multiplies all the coordinates of a point with a scalar, and returns the result as a new point. | |
Subtraction(Double, Point4D) | Subtracts all the coordinates of a point from a scalar, and returns the result as a new point. | |
Subtraction(Point4D, Point4D) | Subtracts the coordinates of two points, and returns the result as a new point. | |
Subtraction(Point4D, Double) | Subtracts a scalar from all the coordinates of a point, and returns the result as a new point. |