Click or drag to resize
SbVec2f Methods

The SbVec2f type exposes the following members.

Methods
  NameDescription
Public methodStatic memberConvertFromT
Try to convert a structure to an SbVec2f value type.
Public methodDot(SbVec2f)
Compute dot (inner) product of vector with v vector.
Public methodDot(SbVec2f)
Compute dot (inner) product of vector with v vector.
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Object, Single)
Returns a value indicating whether this instance is equal to a specified object with given tolerance.
Public methodGetHashCode
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the vector components.
Public methodLength
Computes geometric length of vector.
Public methodNegate
Negates each component of this vector.
Public methodNormalize
Changes vector to be unit length, returning the length before normalization.
Public methodSetValue(Double)
Sets the vector components giving an array of 2 double.
Public methodSetValue(Single)
Sets the vector components giving an array of 2 float.
Public methodSetValue(SbVec2d)
Sets value of vector from a double precision vector.
Public methodSetValue(SbVec2d)
Sets value of vector from a double precision vector.
Public methodSetValue(Double, Double)
Sets the vector components.
Public methodSetValue(Single, Single)
Sets the vector components.
Public methodToArray
Returns an array representation of vector components.
Public methodToString
Converts this SbVec2f structure to a human readable string.
(Overrides ValueTypeToString.)
Top
See Also