IDS peak ICV v1.6.0
Loading...
Searching...
No Matches
PointF Class Reference
Inheritance diagram for PointF:

Public Member Functions

 PointF ()
 Initializes a new instance of the PointF class with default coordinates (0.0f, 0.0f).
 
 PointF (float x, float y)
 Initializes a new instance of the PointF class with specified floating-point 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.
 

Properties

T X [get]
 Gets the X coordinate of the point.
 
T Y [get]
 Gets the Y coordinate of the point.
 

Detailed Description

Represents a 2D point with floating-point coordinates.

Since
IDSImaging.Peak.Common 1.3

Constructor & Destructor Documentation

◆ PointF() [1/2]

PointF ( )
inline

Initializes a new instance of the PointF class with default coordinates (0.0f, 0.0f).

◆ PointF() [2/2]

PointF ( float x,
float y )
inline

Initializes a new instance of the PointF class with specified floating-point coordinates.

Parameters
xThe X coordinate of the point.
yThe Y coordinate of the point.

Member Function Documentation

◆ Equals()

override bool Equals ( object? obj)
inlineinherited

Determines whether the specified object is equal to the current PointT<T>.

Parameters
objThe object to compare with the current point.
Returns
true if the objects are equal; otherwise, false.

◆ GetHashCode()

override int GetHashCode ( )
inlineinherited

Returns a hash code for the current point.

◆ ToString()

override string ToString ( )
inlineinherited

Converts the PointT<T> to a string representation.

Returns
A string representing of the point.

Property Documentation

◆ X

T X
getinherited

Gets the X coordinate of the point.

◆ Y

T Y
getinherited

Gets the Y coordinate of the point.