Satsuma
a delicious .NET graph library
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Static Public Member Functions | Properties | List of all members
Satsuma.Drawing.PointD Struct Reference

An immutable point whose coordinates are double. More...

Inheritance diagram for Satsuma.Drawing.PointD:

Public Member Functions

double Distance (PointD other)
 Returns the Euclidean distance from another point. More...
 
bool Equals (PointD other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
 PointD (double x, double y)
 
string ToString (IFormatProvider provider)
 
override string ToString ()
 

Static Public Member Functions

static PointD Add (PointD a, PointD b)
 Added for CLS compliancy. More...
 
static operator PointF (PointD self)
 
static bool operator!= (PointD a, PointD b)
 
static PointD operator+ (PointD a, PointD b)
 Returns the vector sum of two points. More...
 
static bool operator== (PointD a, PointD b)
 
static PointF ToPointF (PointD self)
 Added for CLS compliancy. More...
 

Properties

double X [get, set]
 
double Y [get, set]
 

Detailed Description

An immutable point whose coordinates are double.

Definition at line 35 of file Layout.cs.

Constructor & Destructor Documentation

Satsuma.Drawing.PointD.PointD ( double  x,
double  y 
)

Definition at line 40 of file Layout.cs.

Member Function Documentation

static PointD Satsuma.Drawing.PointD.Add ( PointD  a,
PointD  b 
)
static

Added for CLS compliancy.

Definition at line 90 of file Layout.cs.

double Satsuma.Drawing.PointD.Distance ( PointD  other)

Returns the Euclidean distance from another point.

Definition at line 107 of file Layout.cs.

bool Satsuma.Drawing.PointD.Equals ( PointD  other)

Definition at line 47 of file Layout.cs.

override bool Satsuma.Drawing.PointD.Equals ( object  obj)

Definition at line 52 of file Layout.cs.

override int Satsuma.Drawing.PointD.GetHashCode ( )

Definition at line 68 of file Layout.cs.

static Satsuma.Drawing.PointD.operator PointF ( PointD  self)
explicitstatic

Definition at line 95 of file Layout.cs.

static bool Satsuma.Drawing.PointD.operator!= ( PointD  a,
PointD  b 
)
static

Definition at line 63 of file Layout.cs.

static PointD Satsuma.Drawing.PointD.operator+ ( PointD  a,
PointD  b 
)
static

Returns the vector sum of two points.

Definition at line 84 of file Layout.cs.

static bool Satsuma.Drawing.PointD.operator== ( PointD  a,
PointD  b 
)
static

Definition at line 58 of file Layout.cs.

static PointF Satsuma.Drawing.PointD.ToPointF ( PointD  self)
static

Added for CLS compliancy.

Definition at line 101 of file Layout.cs.

string Satsuma.Drawing.PointD.ToString ( IFormatProvider  provider)

Definition at line 73 of file Layout.cs.

override string Satsuma.Drawing.PointD.ToString ( )

Definition at line 78 of file Layout.cs.

Property Documentation

double Satsuma.Drawing.PointD.X
getset

Definition at line 37 of file Layout.cs.

double Satsuma.Drawing.PointD.Y
getset

Definition at line 38 of file Layout.cs.


The documentation for this struct was generated from the following file: