T_Rhino_Geometry_Vector2f - mcneel/rhinocommon-api-docs GitHub Wiki
Represents the two components of a vector in two-dimensional space, using Single-precision floating point numbers.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
[SerializableAttribute]
public struct Vector2f : IEquatable<Vector2f>,
IComparable<Vector2f>, IComparable
VB
<SerializableAttribute>
Public Structure Vector2f
Implements IEquatable(Of Vector2f), IComparable(Of Vector2f),
IComparable
The Vector2f type exposes the following members.
Name | Description | |
---|---|---|
![]() |
X | Gets or sets the X (first) component of this vector. |
![]() |
Y | Gets or sets the Y (second) component of this vector. |
Name | Description | |
---|---|---|
![]() |
CompareTo | Compares this Vector2f with another Vector2f. Components evaluation priority is first X, then Y. |
![]() |
EpsilonEquals | Check that all values in other are withing epsilon of the values in this |
![]() |
Equals(Object) | Determines whether the specified System.Object is a Vector2f and has the same values as the present vector. (Overrides ValueType.Equals(Object).) |
![]() |
Equals(Vector2f) | Determines whether the specified vector has the same values as the present vector. |
![]() |
GetHashCode | Computes a hash number that represents the current vector. (Overrides ValueType.GetHashCode().) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() |
Multiply | Multiplies two Vector2f together, returning the dot (internal) product of the two. (Provided for languages that do not support operator overloading. You can use the * operator otherwise) |
![]() |
ToString | Constructs the string representation of the current vector. (Overrides ValueType.ToString().) |
Name | Description | |
---|---|---|
![]() ![]() |
Equality | Determines whether two vectors have equal values. |
![]() ![]() |
GreaterThan | Determines whether the first specified vector comes after (has superior sorting value than) the second vector. Components have decreasing evaluation priority: first X, then Y. |
![]() ![]() |
GreaterThanOrEqual | Determines whether the first specified vector comes after (has superior sorting value than) the second vector, or it is equal to it. Components have decreasing evaluation priority: first X, then Y. |
![]() ![]() |
Inequality | Determines whether two vectors have different values. |
![]() ![]() |
LessThan | Determines whether the first specified vector comes before (has inferior sorting value than) the second vector. Components have decreasing evaluation priority: first X, then Y. |
![]() ![]() |
LessThanOrEqual | Determines whether the first specified vector comes before (has inferior sorting value than) the second vector, or it is equal to it. Components have decreasing evaluation priority: first X, then Y. |
![]() ![]() |
Multiply | Multiplies two Vector2f together, returning the dot (internal) product of the two. |
Supported in: 6.0.16224.21491, 5D58w