| SbVec3s Structure |
3D vector class used to store 3D integer vectors and points. This class is used throughout Open Inventor for arguments and return values.
Namespace: OIV.Inventor
The SbVec3s type exposes the following members.
| Name | Description | |
|---|---|---|
| SbVec3s(Int16) |
Constructor given vector components.
| |
| SbVec3s(Int16) |
Constructor given vector components.
| |
| SbVec3s(SbVec3i32) |
Constructor given vector components.
| |
| SbVec3s(SbVec3i32) |
Constructor given vector components.
| |
| SbVec3s(Int16, Int16, Int16) |
Constructor given vector components.
|
| Name | Description | |
|---|---|---|
| ConvertFromT |
Try to convert a structure to an SbVec3s value type.
| |
| Dot(SbVec3s) |
Compute dot (inner) product of vector with v vector.
| |
| Dot(SbVec3s) |
Compute dot (inner) product of vector with v vector.
| |
| Equals |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).) | |
| GetHashCode |
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.) | |
| GetMaxComponent |
Gives the max component of the vector.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue |
Gets the vector components.
| |
| Negate |
Negates each component of this vector.
| |
| SetValue(Int16) |
Sets the vector components giving an array of 3 short.
| |
| SetValue(SbVec3i32) |
Sets value of vector from an integer vector.
| |
| SetValue(SbVec3i32) |
Sets value of vector from an integer vector.
| |
| SetValue(Int16, Int16, Int16) |
Sets the vector components.
| |
| ToArray |
Returns an array representation of vector components.
| |
| ToString |
Converts this SbVec3s structure to a human readable string.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Addition |
Additive (+) operator. Performs the addition between the vectors v1
and v2.
| |
| Division(SbVec3s, Double) |
The division operator (/) divides each components of vector v1
by d.
| |
| Division(SbVec3s, Int32) |
The division operator (/) divides each components of vector v1
by d.
| |
| Equality |
The equality operator.
| |
| Inequality |
The inequality operator.
| |
| Multiply(Double, SbVec3s) |
The multiplication operator (*), which applies on each component of
v1 the d multiplicative factor.
| |
| Multiply(Int32, SbVec3s) |
The multiplication operator (*), which applies on each component of
v1 the d multiplicative factor.
| |
| Multiply(SbVec3s, Double) |
The multiplication operator (*), which applies on each component of
v1 the d multiplicative factor.
| |
| Multiply(SbVec3s, Int32) |
The multiplication operator (*), which applies on each component of
v1 the d multiplicative factor.
| |
| Subtraction |
Subtraction (–) operator. Performs the difference between the vectors v1
and v2.
| |
| UnaryNegation |
The unary negation operator (-). Negates each vector component.
|
| Name | Description | |
|---|---|---|
| Item |
Gets or sets the vector component at the specified index.
| |
| X |
Gets or sets the x component of vector.
| |
| Y |
Gets or sets the y component of vector.
| |
| Z |
Gets or sets the z component of vector.
|