SbVec3f Structure |
3D vector class used to store 3D vectors and points. This class is used throughout Open Inventor for arguments and return values.
Namespace: OIV.Inventor
The SbVec3f type exposes the following members.
Name | Description | |
---|---|---|
SbVec3f(Single) |
Constructor given vector components.
| |
SbVec3f(Single) |
Constructor given vector components.
| |
SbVec3f(Single, Single, Single) |
Constructor given vector components.
| |
SbVec3f(SbPlane, SbPlane, SbPlane) |
Constructor given 3 plane p0p1p2.
| |
SbVec3f(SbPlane, SbPlane, SbPlane) |
Constructor given 3 plane p0p1p2.
|
Name | Description | |
---|---|---|
ConvertFromT |
Try to convert a structure to an SbVec3f value type.
| |
Cross(SbVec3f) |
Returns right-handed cross product of vector and another vector.
| |
Cross(SbVec3f) |
Returns right-handed cross product of vector and another vector.
| |
Dot(SbVec3f) |
Compute dot (inner) product of vector with v vector.
| |
Dot(SbVec3f) |
Compute dot (inner) product of vector with v vector.
| |
Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).) | |
Equals(Object, Single) |
Returns a value indicating whether this instance is equal to a specified object
with given tolerance.
| |
GetClosestAxis |
Returns principal axis that is closest
(based on maximum dot product) to this vector.
| |
GetHashCode |
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Gets the vector components.
| |
Length |
Computes geometric length of vector.
| |
Negate |
Negates each component of this vector.
| |
Normalize |
Changes vector to be unit length, returning the length before normalization.
| |
SetValue(Double) |
Sets the vector components giving an array of 3 double.
| |
SetValue(Single) |
Sets the vector components giving an array of 3 float.
| |
SetValue(SbVec3d) |
Sets value of vector from a double precision vector.
| |
SetValue(SbVec3d) |
Sets value of vector from a double precision vector.
| |
SetValue(Double, Double, Double) |
Sets the vector components.
| |
SetValue(Single, Single, Single) |
Sets the vector components.
| |
SetValue(SbVec3f, SbVec3f, SbVec3f, SbVec3f) |
Sets value of vector as the weighted average of 3 other vectors.
| |
SetValue(SbVec3f, SbVec3f, SbVec3f, SbVec3f) |
Sets value of vector as the weighted average of 3 other vectors.
| |
ToArray |
Returns an array representation of vector components.
| |
ToString |
Converts this SbVec3f structure to a human readable string.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Addition |
Additive (+) operator. Performs the addition between the vectors v1
and v2.
| |
Division(SbVec3f, SbVec3f) |
The division operator (/) divides each components of vector v1
by components of vector v2.
| |
Division(SbVec3f, Single) |
The division operator (/) divides each components of vector v1
by d.
| |
Equality |
The equality operator.
| |
Inequality |
The inequality operator.
| |
Multiply(Single, SbVec3f) |
The multiplication operator (*), which applies on each component of
v1 the d multiplicative factor.
| |
Multiply(SbVec3f, SbVec3f) |
The multiplication operator (*), which multiply each component of
v1 by each component of vector v2.
| |
Multiply(SbVec3f, Single) |
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.
|