IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
VectorF Class Reference
Inheritance diagram for VectorF:

Public Member Functions

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

Since
IDSImaging.Peak.Common 1.3

Definition at line 181 of file Point.cs.

Constructor & Destructor Documentation

◆ VectorF() [1/2]

VectorF ( )
inline

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

Definition at line 186 of file Point.cs.

◆ VectorF() [2/2]

VectorF ( float x,
float y )
inline

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

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

Definition at line 196 of file Point.cs.

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.

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.

Property Documentation

◆ X

T X
getinherited

Gets the X coordinate of the point.

Definition at line 29 of file Point.cs.

◆ Y

T Y
getinherited

Gets the Y coordinate of the point.

Definition at line 34 of file Point.cs.