Click or drag to resize
SbVec2i32 Structure
2D vector class used to store 2D vectors and points.

This class is used throughout Open Inventor for arguments and return values

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.0.Release.b1c2f41e1719ac8d4c3f00435c0b4b040d8bfcc0
Syntax
public struct SbVec2i32

The SbVec2i32 type exposes the following members.

Constructors
  NameDescription
Public methodSbVec2i32(Int32)
Constructor given vector components.
Public methodSbVec2i32(Int32)
Constructor given vector components.
Public methodSbVec2i32(Int32, Int32)
Constructor given vector components.
Top
Methods
  NameDescription
Public methodStatic memberConvertFromT
Try to convert a structure to an SbVec2i32 value type.
Public methodDot(SbVec2i32)
Compute dot (inner) product of vector with v vector.
Public methodDot(SbVec2i32)
Compute dot (inner) product of vector with v vector.
Public methodEquals
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
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 component.
Public methodNegate
Negates each component of this vector.
Public methodSetValue(Int32)
Sets the vector components giving an array of 2 integers.
Public methodSetValue(Int32, Int32)
Sets the vector components.
Public methodToArray
Returns an array representation of vector components.
Public methodToString
Converts this SbVec2i32 structure to a human readable string.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Additive (+) operator. Performs the addition between the vectors v1 and v2.
Public operatorStatic memberDivision(SbVec2i32, Double)
The division operator (/) divides each components of vector v1 by d.
Public operatorStatic memberDivision(SbVec2i32, Int32)
The division operator (/) divides each components of vector v1 by d.
Public operatorStatic memberEquality
The equality operator.
Public operatorStatic memberInequality
The inequality operator.
Public operatorStatic memberMultiply(Double, SbVec2i32)
The multiplication operator (*), which applies on each component of v1 the d multiplicative factor.
Public operatorStatic memberMultiply(Int32, SbVec2i32)
The multiplication operator (*), which applies on each component of v1 the d multiplicative factor.
Public operatorStatic memberMultiply(SbVec2i32, Double)
The multiplication operator (*), which applies on each component of v1 the d multiplicative factor.
Public operatorStatic memberMultiply(SbVec2i32, Int32)
The multiplication operator (*), which applies on each component of v1 the d multiplicative factor.
Public operatorStatic memberSubtraction
Subtraction (–) operator. Performs the difference between the vectors v1 and v2.
Public operatorStatic memberUnaryNegation
The unary negation operator (-). Negates each vector component.
Top
Properties
  NameDescription
Public propertyItem
Gets or sets the vector component at the specified index.
Public propertyX
Gets or sets the x component of vector.
Public propertyY
Gets or sets the y component of vector.
Top
See Also