|
| | Point () |
| | Initializes a new instance of the Point class with default coordinates (0, 0).
|
| |
| | Point (int x, int y) |
| | Initializes a new instance of the Point class with specified integer coordinates.
|
| |
| override bool | Equals (object? obj) |
| | Determines whether the specified object is equal to the current PointT<T>.
|
| |
| override int | GetHashCode () |
| | Returns a hash code for the current point.
|
| |
| override string | ToString () |
| | Converts the PointT<T> to a string representation.
|
| |
|
| T | X [get] |
| | Gets the X coordinate of the point.
|
| |
| T | Y [get] |
| | Gets the Y coordinate of the point.
|
| |
Represents a 2D point with integer coordinates.
- Since
- IDSImaging.Peak.Common 1.3
Definition at line 97 of file Point.cs.
◆ Point() [1/2]
Initializes a new instance of the Point class with default coordinates (0, 0).
Definition at line 102 of file Point.cs.
◆ Point() [2/2]
Initializes a new instance of the Point class with specified integer coordinates.
- Parameters
-
| x | The X coordinate of the point. |
| y | The Y coordinate of the point. |
Definition at line 112 of file Point.cs.
◆ Equals()
| override bool Equals |
( |
object? | obj | ) |
|
|
inlineinherited |
Determines whether the specified object is equal to the current PointT<T>.
- Parameters
-
| obj | The object to compare with the current point. |
- Returns
true if the objects are equal; otherwise, false.
Definition at line 41 of file Point.cs.
◆ GetHashCode()
| override int GetHashCode |
( |
| ) |
|
|
inlineinherited |
Returns a hash code for the current point.
Definition at line 74 of file Point.cs.
◆ ToString()
| override string ToString |
( |
| ) |
|
|
inlineinherited |
Converts the PointT<T> to a string representation.
- Returns
- A string representing of the point.
Definition at line 83 of file Point.cs.
Gets the X coordinate of the point.
Definition at line 29 of file Point.cs.
Gets the Y coordinate of the point.
Definition at line 34 of file Point.cs.