Table of Contents

Class PointF

Namespace
Geotab.Drawing
Assembly
Geotab.Checkmate.ObjectModel.dll

A point with a float X and Y.

public class PointF
Inheritance
PointF
Inherited Members

Constructors

PointF()

Initializes a new instance of the PointF class.

public PointF()

PointF(float, float)

Initializes a new instance of the PointF class.

public PointF(float x, float y)

Parameters

x float

The x.

y float

The y.

Fields

Empty

An empty point.

public static readonly PointF Empty

Field Value

PointF

Properties

X

Gets or sets the X coordinate.

public float X { get; set; }

Property Value

float

The x value.

Y

Gets or sets the Y coordinate.

public float Y { get; set; }

Property Value

float

The Y value.

Methods

Equals(object?)

Determines whether the specified object, is equal to this instance.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

GetHashCode()

Returns a hash code for this instance.

public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.