Skip to end of metadata
Go to start of metadata

Represents a struct for point (double)

Definition

public struct PointD

Summary

The following table summarizes the members exposed in this structure.

Public Constructors

PointD Constructor(double, double) Create an instance of PointD.

Public Properties

IsEmpty Gets the value indicating whether the struct is empty.
X Gets or sets the X-coordinate value.
Y Gets or sets the Y-coordinate value.

Public Methods

Equals(object) Returns a value indicating whether this instance and a specified point object represent the same value.
Equals(PointD) Returns a value indicating whether this instance and a specified point object represent the same value.
GetHashCode() Returns the hash code for this instance.
ToString() Returns a string that represents the current object.

Public Constructors

public PointD(double x, double y)

Create an instance of PointD.

Parameters

x The X-coordinate value.
y The Y-coordinate value.

Public Properties

public bool IsEmpty { get; }

Gets the value indicating whether the struct is empty.

public double X { get; set; }

Gets or sets the X-coordinate value.

public double Y { get; set; }

Gets or sets the Y-coordinate value.

Public Methods

public bool Equals(object o)

Returns a value indicating whether this instance and a specified point object represent the same value.

Parameters

o A point object to compare to this instance.

Return Types

true if obj is equal to this instance; otherwise, false.

public bool Equals(PointD value)

Returns a value indicating whether this instance and a specified point object represent the same value.

Parameters

value A point object to compare to this instance.

Return Types

true if obj is equal to this instance; otherwise, false.

public int GetHashCode()

Returns the hash code for this instance.

Return Types

A 32-bit signed integer that is the hash code for this instance.

public string ToString()

Returns a string that represents the current object.

Return Types

A string that represents the current object.
  • No labels