﻿ Vector2 Structure | ComponentOne Bitmap for WinForms
ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX Namespace / Vector2 Structure
Fields Properties Methods

In This Topic
Vector2 Structure Members
In This Topic

The following tables list the members exposed by Vector2.

Public Constructors
NameDescription Overloaded.
Top
Public Fields
NameDescription  A Vector2 with all of its components set to one. The size of the Vector2 type, in bytes.  The X unit Vector2 (1, 0).  The Y unit Vector2 (0, 1). The X component of the vector. The Y component of the vector.  A Vector2 with all of its components set to zero.
Top
Public Properties
NameDescription Gets a value indicting whether this instance is normalized. Gets or sets the component at the specified index. Gets the length of the vector. Gets the squared length of the vector.
Top
Public Methods
NameDescription  Returns a vector whose elements are the absolute values of each of the specified vector's elements.  Overloaded. Calculates the absolute value vector.  Adds two vectors.  Adds two vectors.  Calculates an angle between two vectors, in radians.  Restricts a vector between a minimum and a maximum value.  Restricts a vector between a minimum and a maximum value.  Overloaded. Divides the specified vector by a specified scalar value.  Overloaded. Divides the specified vector by a specified scalar value.  Calculates the dot product of two vectors.  Calculates the dot product of two vectors. Overloaded. Determines whether the specified Vector2 is equal to this instance. Determines whether the specified Vector2 is equal to this instance. Returns a hash code for this instance.  Performs a linear interpolation between two vectors based on the given weighting.  Performs a linear interpolation between two vectors based on the given weighting.  Returns a vector containing the largest components of the specified vectors.  Returns a vector containing the largest components of the specified vectors.  Returns a vector containing the smallest components of the specified vectors.  Returns a vector containing the smallest components of the specified vectors.  Overloaded. Scales a vector by the given value.  Overloaded. Scales a vector by the given value.  Reverses the direction of a given vector.  Overloaded. Reverses the direction of the vector.  Converts the vector into a unit vector.  Overloaded. Converts the vector into a unit vector.  Subtracts two vectors.  Subtracts two vectors. Creates an array containing the elements of the vector. Overloaded. Returns a System.String that represents this instance.
Top
Public Operators Addition Overloaded. Adds two vectors. Division Overloaded. Divides the specified vector by a specified scalar value. Equality Tests for equality between two objects. Explicit Type Conversion Overloaded. Performs an explicit conversion from Vector2 to Vector3. Inequality Tests for inequality between two objects. Multiplication Overloaded. Scales a vector by the given value. Subtraction Subtracts two vectors. Unary Negation Reverses the direction of a given vector.
Top