Vector2 Structure |
Namespace: Aspose.ThreeD.Utilities
The Vector2 type exposes the following members.
Name | Description | |
---|---|---|
![]() | Vector2(Double) |
Initializes a new instance of the Vector2 struct.
|
![]() | Vector2(Double, Double) |
Initializes a new instance of the Vector2 struct.
|
Name | Description | |
---|---|---|
![]() | Length |
Gets the length.
|
![]() | U |
Gets or sets the U component if the Vector2 is used as a mapping coordinate.
It's an alias of x component.
|
![]() | V |
Gets or sets the V component if the Vector2 is used as a mapping coordinate.
It's an alias of y component.
|
Name | Description | |
---|---|---|
![]() | CompareTo |
Compare current vector to another instance.
|
![]() | Cross |
Cross product of two vectors
|
![]() | Dot |
Gets the dot product of two vectors
|
![]() | Equals(Object) |
Check if two vector2 equals
(Overrides ValueTypeEquals(Object).) |
![]() | Equals(Vector2) |
Check if two vector2 equals
|
![]() | GetHashCode |
Gets the hash code of Vector2
(Overrides ValueTypeGetHashCode.) |
![]() | GetType | (Inherited from Object.) |
![]() | Normalize |
Normalizes this instance.
|
![]() | ToString |
Returns a String that represents the current Vector2.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Addition operator for Vector2
|
![]() ![]() | Division |
Division operator for Vector2
|
![]() ![]() | Equality |
Equal operator for Vector2
|
![]() ![]() | Inequality |
Not-equal operator for Vector2
|
![]() ![]() | Multiply(Double, Vector2) |
Multiply operator for Vector2
|
![]() ![]() | Multiply(Vector2, Double) |
Multiply operator for Vector2
|
![]() ![]() | Subtraction |
Substraction operator for Vector2
|