ICSV - Image Color Similarity Visualization
Vienna Technical University - Course 'Visualization 2'. Author: Stefan Spelitz (0925601)
XnaGeometry.Vector4 Struct Reference

XnaGeometry from http://www.technologicalutopia.com/sourcecode/xnageometry/ More...

Inheritance diagram for XnaGeometry.Vector4:

Public Member Functions

 Vector4 (double x, double y, double z, double w)
 
 Vector4 (Vector2 value, double z, double w)
 
 Vector4 (Vector3 value, double w)
 
 Vector4 (double value)
 
override bool Equals (object obj)
 
bool Equals (Vector4 other)
 
override int GetHashCode ()
 
double Length ()
 
double LengthSquared ()
 
void Normalize ()
 
override string ToString ()
 

Static Public Member Functions

static Vector4 Add (Vector4 value1, Vector4 value2)
 
static void Add (ref Vector4 value1, ref Vector4 value2, out Vector4 result)
 
static Vector4 Barycentric (Vector4 value1, Vector4 value2, Vector4 value3, double amount1, double amount2)
 
static void Barycentric (ref Vector4 value1, ref Vector4 value2, ref Vector4 value3, double amount1, double amount2, out Vector4 result)
 
static Vector4 CatmullRom (Vector4 value1, Vector4 value2, Vector4 value3, Vector4 value4, double amount)
 
static void CatmullRom (ref Vector4 value1, ref Vector4 value2, ref Vector4 value3, ref Vector4 value4, double amount, out Vector4 result)
 
static Vector4 Clamp (Vector4 value1, Vector4 min, Vector4 max)
 
static void Clamp (ref Vector4 value1, ref Vector4 min, ref Vector4 max, out Vector4 result)
 
static double Distance (Vector4 value1, Vector4 value2)
 
static void Distance (ref Vector4 value1, ref Vector4 value2, out double result)
 
static double DistanceSquared (Vector4 value1, Vector4 value2)
 
static void DistanceSquared (ref Vector4 value1, ref Vector4 value2, out double result)
 
static Vector4 Divide (Vector4 value1, Vector4 value2)
 
static Vector4 Divide (Vector4 value1, double divider)
 
static void Divide (ref Vector4 value1, double divider, out Vector4 result)
 
static void Divide (ref Vector4 value1, ref Vector4 value2, out Vector4 result)
 
static double Dot (Vector4 vector1, Vector4 vector2)
 
static void Dot (ref Vector4 vector1, ref Vector4 vector2, out double result)
 
static Vector4 Hermite (Vector4 value1, Vector4 tangent1, Vector4 value2, Vector4 tangent2, double amount)
 
static void Hermite (ref Vector4 value1, ref Vector4 tangent1, ref Vector4 value2, ref Vector4 tangent2, double amount, out Vector4 result)
 
static Vector4 Lerp (Vector4 value1, Vector4 value2, double amount)
 
static void Lerp (ref Vector4 value1, ref Vector4 value2, double amount, out Vector4 result)
 
static Vector4 Max (Vector4 value1, Vector4 value2)
 
static void Max (ref Vector4 value1, ref Vector4 value2, out Vector4 result)
 
static Vector4 Min (Vector4 value1, Vector4 value2)
 
static void Min (ref Vector4 value1, ref Vector4 value2, out Vector4 result)
 
static Vector4 Multiply (Vector4 value1, Vector4 value2)
 
static Vector4 Multiply (Vector4 value1, double scaleFactor)
 
static void Multiply (ref Vector4 value1, double scaleFactor, out Vector4 result)
 
static void Multiply (ref Vector4 value1, ref Vector4 value2, out Vector4 result)
 
static Vector4 Negate (Vector4 value)
 
static void Negate (ref Vector4 value, out Vector4 result)
 
static Vector4 Normalize (Vector4 vector)
 
static void Normalize (ref Vector4 vector, out Vector4 result)
 
static Vector4 SmoothStep (Vector4 value1, Vector4 value2, double amount)
 
static void SmoothStep (ref Vector4 value1, ref Vector4 value2, double amount, out Vector4 result)
 
static Vector4 Subtract (Vector4 value1, Vector4 value2)
 
static void Subtract (ref Vector4 value1, ref Vector4 value2, out Vector4 result)
 
static Vector4 Transform (Vector2 position, Matrix matrix)
 
static Vector4 Transform (Vector3 position, Matrix matrix)
 
static Vector4 Transform (Vector4 vector, Matrix matrix)
 
static void Transform (ref Vector2 position, ref Matrix matrix, out Vector4 result)
 
static void Transform (ref Vector3 position, ref Matrix matrix, out Vector4 result)
 
static void Transform (ref Vector4 vector, ref Matrix matrix, out Vector4 result)
 
static Vector4 operator- (Vector4 value)
 
static bool operator== (Vector4 value1, Vector4 value2)
 
static bool operator!= (Vector4 value1, Vector4 value2)
 
static Vector4 operator+ (Vector4 value1, Vector4 value2)
 
static Vector4 operator- (Vector4 value1, Vector4 value2)
 
static Vector4 operator* (Vector4 value1, Vector4 value2)
 
static Vector4 operator* (Vector4 value1, double scaleFactor)
 
static Vector4 operator* (double scaleFactor, Vector4 value1)
 
static Vector4 operator/ (Vector4 value1, Vector4 value2)
 
static Vector4 operator/ (Vector4 value1, double divider)
 

Public Attributes

double X
 
double Y
 
double Z
 
double W
 

Properties

static Vector4 Zero [get]
 
static Vector4 One [get]
 
static Vector4 UnitX [get]
 
static Vector4 UnitY [get]
 
static Vector4 UnitZ [get]
 
static Vector4 UnitW [get]
 

Detailed Description

Constructor & Destructor Documentation

XnaGeometry.Vector4.Vector4 ( double  x,
double  y,
double  z,
double  w 
)
XnaGeometry.Vector4.Vector4 ( Vector2  value,
double  z,
double  w 
)
XnaGeometry.Vector4.Vector4 ( Vector3  value,
double  w 
)
XnaGeometry.Vector4.Vector4 ( double  value)

Member Function Documentation

static Vector4 XnaGeometry.Vector4.Add ( Vector4  value1,
Vector4  value2 
)
static
static void XnaGeometry.Vector4.Add ( ref Vector4  value1,
ref Vector4  value2,
out Vector4  result 
)
static
static Vector4 XnaGeometry.Vector4.Barycentric ( Vector4  value1,
Vector4  value2,
Vector4  value3,
double  amount1,
double  amount2 
)
static
static void XnaGeometry.Vector4.Barycentric ( ref Vector4  value1,
ref Vector4  value2,
ref Vector4  value3,
double  amount1,
double  amount2,
out Vector4  result 
)
static
static Vector4 XnaGeometry.Vector4.CatmullRom ( Vector4  value1,
Vector4  value2,
Vector4  value3,
Vector4  value4,
double  amount 
)
static
static void XnaGeometry.Vector4.CatmullRom ( ref Vector4  value1,
ref Vector4  value2,
ref Vector4  value3,
ref Vector4  value4,
double  amount,
out Vector4  result 
)
static
static Vector4 XnaGeometry.Vector4.Clamp ( Vector4  value1,
Vector4  min,
Vector4  max 
)
static
static void XnaGeometry.Vector4.Clamp ( ref Vector4  value1,
ref Vector4  min,
ref Vector4  max,
out Vector4  result 
)
static
static double XnaGeometry.Vector4.Distance ( Vector4  value1,
Vector4  value2 
)
static
static void XnaGeometry.Vector4.Distance ( ref Vector4  value1,
ref Vector4  value2,
out double  result 
)
static
static double XnaGeometry.Vector4.DistanceSquared ( Vector4  value1,
Vector4  value2 
)
static
static void XnaGeometry.Vector4.DistanceSquared ( ref Vector4  value1,
ref Vector4  value2,
out double  result 
)
static
static Vector4 XnaGeometry.Vector4.Divide ( Vector4  value1,
Vector4  value2 
)
static
static Vector4 XnaGeometry.Vector4.Divide ( Vector4  value1,
double  divider 
)
static
static void XnaGeometry.Vector4.Divide ( ref Vector4  value1,
double  divider,
out Vector4  result 
)
static
static void XnaGeometry.Vector4.Divide ( ref Vector4  value1,
ref Vector4  value2,
out Vector4  result 
)
static
static double XnaGeometry.Vector4.Dot ( Vector4  vector1,
Vector4  vector2 
)
static
static void XnaGeometry.Vector4.Dot ( ref Vector4  vector1,
ref Vector4  vector2,
out double  result 
)
static
override bool XnaGeometry.Vector4.Equals ( object  obj)
bool XnaGeometry.Vector4.Equals ( Vector4  other)
override int XnaGeometry.Vector4.GetHashCode ( )
static Vector4 XnaGeometry.Vector4.Hermite ( Vector4  value1,
Vector4  tangent1,
Vector4  value2,
Vector4  tangent2,
double  amount 
)
static
static void XnaGeometry.Vector4.Hermite ( ref Vector4  value1,
ref Vector4  tangent1,
ref Vector4  value2,
ref Vector4  tangent2,
double  amount,
out Vector4  result 
)
static
double XnaGeometry.Vector4.Length ( )
double XnaGeometry.Vector4.LengthSquared ( )
static Vector4 XnaGeometry.Vector4.Lerp ( Vector4  value1,
Vector4  value2,
double  amount 
)
static
static void XnaGeometry.Vector4.Lerp ( ref Vector4  value1,
ref Vector4  value2,
double  amount,
out Vector4  result 
)
static
static Vector4 XnaGeometry.Vector4.Max ( Vector4  value1,
Vector4  value2 
)
static
static void XnaGeometry.Vector4.Max ( ref Vector4  value1,
ref Vector4  value2,
out Vector4  result 
)
static
static Vector4 XnaGeometry.Vector4.Min ( Vector4  value1,
Vector4  value2 
)
static
static void XnaGeometry.Vector4.Min ( ref Vector4  value1,
ref Vector4  value2,
out Vector4  result 
)
static
static Vector4 XnaGeometry.Vector4.Multiply ( Vector4  value1,
Vector4  value2 
)
static
static Vector4 XnaGeometry.Vector4.Multiply ( Vector4  value1,
double  scaleFactor 
)
static
static void XnaGeometry.Vector4.Multiply ( ref Vector4  value1,
double  scaleFactor,
out Vector4  result 
)
static
static void XnaGeometry.Vector4.Multiply ( ref Vector4  value1,
ref Vector4  value2,
out Vector4  result 
)
static
static Vector4 XnaGeometry.Vector4.Negate ( Vector4  value)
static
static void XnaGeometry.Vector4.Negate ( ref Vector4  value,
out Vector4  result 
)
static
void XnaGeometry.Vector4.Normalize ( )
static Vector4 XnaGeometry.Vector4.Normalize ( Vector4  vector)
static
static void XnaGeometry.Vector4.Normalize ( ref Vector4  vector,
out Vector4  result 
)
static
static bool XnaGeometry.Vector4.operator!= ( Vector4  value1,
Vector4  value2 
)
static
static Vector4 XnaGeometry.Vector4.operator* ( Vector4  value1,
Vector4  value2 
)
static
static Vector4 XnaGeometry.Vector4.operator* ( Vector4  value1,
double  scaleFactor 
)
static
static Vector4 XnaGeometry.Vector4.operator* ( double  scaleFactor,
Vector4  value1 
)
static
static Vector4 XnaGeometry.Vector4.operator+ ( Vector4  value1,
Vector4  value2 
)
static
static Vector4 XnaGeometry.Vector4.operator- ( Vector4  value)
static
static Vector4 XnaGeometry.Vector4.operator- ( Vector4  value1,
Vector4  value2 
)
static
static Vector4 XnaGeometry.Vector4.operator/ ( Vector4  value1,
Vector4  value2 
)
static
static Vector4 XnaGeometry.Vector4.operator/ ( Vector4  value1,
double  divider 
)
static
static bool XnaGeometry.Vector4.operator== ( Vector4  value1,
Vector4  value2 
)
static
static Vector4 XnaGeometry.Vector4.SmoothStep ( Vector4  value1,
Vector4  value2,
double  amount 
)
static
static void XnaGeometry.Vector4.SmoothStep ( ref Vector4  value1,
ref Vector4  value2,
double  amount,
out Vector4  result 
)
static
static Vector4 XnaGeometry.Vector4.Subtract ( Vector4  value1,
Vector4  value2 
)
static
static void XnaGeometry.Vector4.Subtract ( ref Vector4  value1,
ref Vector4  value2,
out Vector4  result 
)
static
override string XnaGeometry.Vector4.ToString ( )
static Vector4 XnaGeometry.Vector4.Transform ( Vector2  position,
Matrix  matrix 
)
static
static Vector4 XnaGeometry.Vector4.Transform ( Vector3  position,
Matrix  matrix 
)
static
static Vector4 XnaGeometry.Vector4.Transform ( Vector4  vector,
Matrix  matrix 
)
static
static void XnaGeometry.Vector4.Transform ( ref Vector2  position,
ref Matrix  matrix,
out Vector4  result 
)
static
static void XnaGeometry.Vector4.Transform ( ref Vector3  position,
ref Matrix  matrix,
out Vector4  result 
)
static
static void XnaGeometry.Vector4.Transform ( ref Vector4  vector,
ref Matrix  matrix,
out Vector4  result 
)
static

Member Data Documentation

double XnaGeometry.Vector4.W
double XnaGeometry.Vector4.X
double XnaGeometry.Vector4.Y
double XnaGeometry.Vector4.Z

Property Documentation

Vector4 XnaGeometry.Vector4.One
staticget
Vector4 XnaGeometry.Vector4.UnitW
staticget
Vector4 XnaGeometry.Vector4.UnitX
staticget
Vector4 XnaGeometry.Vector4.UnitY
staticget
Vector4 XnaGeometry.Vector4.UnitZ
staticget
Vector4 XnaGeometry.Vector4.Zero
staticget