Charting for WinForms Programmer's Guide
Vector Members
Constructors Properties Methods
 


Represents a two-dimensional vector.

The following tables list the members exposed by the Vector type.

 Public Constructors

  Name Description

Vector

Initializes a new instance of the Vector struct.

 Public Properties

  Name Description

Length

Gets the length of this vector.

LengthSquared

Gets the squared length of this vector.

X

Gets or sets the X component of this vector.

Y

Gets or sets the Y component of this vector.

 Public Methods

  Name Description

Add

Overloaded.  

AngleBetween

Determines the angle between two vectors.

CrossProduct

Returns the size of cross-product of two vectors.

Determinant

Finds the determinant of two vectors.

Divide

Divides a vector by a scalar.

Equals

Overloaded.  

GetHashCode

Object.GetHashCode override.

Multiply

Overloaded.  

Negate

Reverses the direction of this vector.

Normalize

Makes this vector a unit vector.

Subtract

Subtracts two vectors.

ToString

Overloaded.  

 See Also

Vector Structure
MindFusion.Charting Namespace