PdfSharp-WPF  1.31.7289
PdfSharp.Drawing.XVector Struct Reference

Represents a two-dimensional vector specified by x- and y-coordinates. More...

Inheritance diagram for PdfSharp.Drawing.XVector:

Public Member Functions

 XVector (double x, double y)
 
override bool Equals (object o)
 
bool Equals (XVector value)
 
override int GetHashCode ()
 
override string ToString ()
 
string ToString (IFormatProvider provider)
 
string IFormattable. ToString (string format, IFormatProvider provider)
 
void Normalize ()
 
void Negate ()
 

Static Public Member Functions

static bool operator== (XVector vector1, XVector vector2)
 
static bool operator!= (XVector vector1, XVector vector2)
 
static bool Equals (XVector vector1, XVector vector2)
 
static double CrossProduct (XVector vector1, XVector vector2)
 
static double AngleBetween (XVector vector1, XVector vector2)
 
static XVector operator- (XVector vector)
 
static XVector operator+ (XVector vector1, XVector vector2)
 
static XVector Add (XVector vector1, XVector vector2)
 
static XVector operator- (XVector vector1, XVector vector2)
 
static XVector Subtract (XVector vector1, XVector vector2)
 
static XPoint operator+ (XVector vector, XPoint point)
 
static XPoint Add (XVector vector, XPoint point)
 
static XVector operator* (XVector vector, double scalar)
 
static XVector Multiply (XVector vector, double scalar)
 
static XVector operator* (double scalar, XVector vector)
 
static XVector Multiply (double scalar, XVector vector)
 
static XVector operator/ (XVector vector, double scalar)
 
static XVector Divide (XVector vector, double scalar)
 
static XVector operator* (XVector vector, XMatrix matrix)
 
static XVector Multiply (XVector vector, XMatrix matrix)
 
static double operator* (XVector vector1, XVector vector2)
 
static double Multiply (XVector vector1, XVector vector2)
 
static double Determinant (XVector vector1, XVector vector2)
 
static operator XSize (XVector vector)
 
static operator XPoint (XVector vector)
 

Properties

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

Detailed Description

Represents a two-dimensional vector specified by x- and y-coordinates.

Constructor & Destructor Documentation

◆ XVector()

PdfSharp.Drawing.XVector.XVector ( double  x,
double  y 
)

Member Function Documentation

◆ Add() [1/2]

static XPoint PdfSharp.Drawing.XVector.Add ( XVector  vector,
XPoint  point 
)
static

◆ Add() [2/2]

static XVector PdfSharp.Drawing.XVector.Add ( XVector  vector1,
XVector  vector2 
)
static

◆ AngleBetween()

static double PdfSharp.Drawing.XVector.AngleBetween ( XVector  vector1,
XVector  vector2 
)
static

◆ CrossProduct()

static double PdfSharp.Drawing.XVector.CrossProduct ( XVector  vector1,
XVector  vector2 
)
static

◆ Determinant()

static double PdfSharp.Drawing.XVector.Determinant ( XVector  vector1,
XVector  vector2 
)
static

◆ Divide()

static XVector PdfSharp.Drawing.XVector.Divide ( XVector  vector,
double  scalar 
)
static

◆ Equals() [1/3]

override bool PdfSharp.Drawing.XVector.Equals ( object  o)

◆ Equals() [2/3]

bool PdfSharp.Drawing.XVector.Equals ( XVector  value)

◆ Equals() [3/3]

static bool PdfSharp.Drawing.XVector.Equals ( XVector  vector1,
XVector  vector2 
)
static

◆ GetHashCode()

override int PdfSharp.Drawing.XVector.GetHashCode ( )

◆ Multiply() [1/4]

static XVector PdfSharp.Drawing.XVector.Multiply ( double  scalar,
XVector  vector 
)
static

◆ Multiply() [2/4]

static XVector PdfSharp.Drawing.XVector.Multiply ( XVector  vector,
double  scalar 
)
static

◆ Multiply() [3/4]

static XVector PdfSharp.Drawing.XVector.Multiply ( XVector  vector,
XMatrix  matrix 
)
static

◆ Multiply() [4/4]

static double PdfSharp.Drawing.XVector.Multiply ( XVector  vector1,
XVector  vector2 
)
static

◆ Negate()

void PdfSharp.Drawing.XVector.Negate ( )

◆ Normalize()

void PdfSharp.Drawing.XVector.Normalize ( )

◆ operator XPoint()

static PdfSharp.Drawing.XVector.operator XPoint ( XVector  vector)
explicitstatic

◆ operator XSize()

static PdfSharp.Drawing.XVector.operator XSize ( XVector  vector)
explicitstatic

◆ operator!=()

static bool PdfSharp.Drawing.XVector.operator!= ( XVector  vector1,
XVector  vector2 
)
static

◆ operator*() [1/4]

static XVector PdfSharp.Drawing.XVector.operator* ( double  scalar,
XVector  vector 
)
static

◆ operator*() [2/4]

static XVector PdfSharp.Drawing.XVector.operator* ( XVector  vector,
double  scalar 
)
static

◆ operator*() [3/4]

static XVector PdfSharp.Drawing.XVector.operator* ( XVector  vector,
XMatrix  matrix 
)
static

◆ operator*() [4/4]

static double PdfSharp.Drawing.XVector.operator* ( XVector  vector1,
XVector  vector2 
)
static

◆ operator+() [1/2]

static XPoint PdfSharp.Drawing.XVector.operator+ ( XVector  vector,
XPoint  point 
)
static

◆ operator+() [2/2]

static XVector PdfSharp.Drawing.XVector.operator+ ( XVector  vector1,
XVector  vector2 
)
static

◆ operator-() [1/2]

static XVector PdfSharp.Drawing.XVector.operator- ( XVector  vector)
static

◆ operator-() [2/2]

static XVector PdfSharp.Drawing.XVector.operator- ( XVector  vector1,
XVector  vector2 
)
static

◆ operator/()

static XVector PdfSharp.Drawing.XVector.operator/ ( XVector  vector,
double  scalar 
)
static

◆ operator==()

static bool PdfSharp.Drawing.XVector.operator== ( XVector  vector1,
XVector  vector2 
)
static

◆ Subtract()

static XVector PdfSharp.Drawing.XVector.Subtract ( XVector  vector1,
XVector  vector2 
)
static

◆ ToString() [1/3]

override string PdfSharp.Drawing.XVector.ToString ( )

◆ ToString() [2/3]

string PdfSharp.Drawing.XVector.ToString ( IFormatProvider  provider)

◆ ToString() [3/3]

string IFormattable. PdfSharp.Drawing.XVector.ToString ( string  format,
IFormatProvider  provider 
)

Property Documentation

◆ Length

double PdfSharp.Drawing.XVector.Length
get

◆ LengthSquared

double PdfSharp.Drawing.XVector.LengthSquared
get

◆ X

double PdfSharp.Drawing.XVector.X
getset

◆ Y

double PdfSharp.Drawing.XVector.Y
getset

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