|
|
Vector3 Methods |
The Vector3 type exposes the following members.
| Name | Description | |
|---|---|---|
| CompareTo |
compares this to other vector based on the distance to the origin.
| |
| Cross |
Get the cross product of two vectors.
| |
| CrossProduct |
Compute cross product.
| |
| Dot |
Compute dot product.
| |
| DotProduct |
Compute dot product.
| |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object).) | |
| Equals(Vector3) |
check whether another vector is equal to this vector.
| |
| Equals(Vector3, Double) |
check whether another vector is equal to this vector within a given tolerance.
| |
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsTiny |
Determines whether the vector is small.
| |
| MakePerpendicularTo |
Makes this vector perpendicular to the given vector.
Result is not unitized.
| |
| meanSquaredLength |
Gets the mean squared length of vectors in a list.
| |
| Multiply(Vector3, Vector3) |
Form the dot-product of two vectors.
| |
| Multiply(Vector3, Double) |
multiply a vector by a scalar.
| |
| Normalize |
Returns a vector with the same direction as the given vector, but with a length of 1.
| |
| Reverse |
reverse the direction of a vector.
| |
| Rotate |
Rotates vector by an angle about a given axis.
| |
| ScaleVectors |
Scales the vectors in a list by a given factor and returns the new list.
| |
| ToDeg |
Convert angle in radians to degree.
| |
| ToPoint3 |
Converts to Point3.
| |
| ToRad |
Convert angle in degree to radians.
| |
| ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString.) | |
| Transform(Plane3) |
Transform vector to local coordinate system of given plane.
| |
| Transform(Transform3) |
Transform vector.
| |
| Transform(Vector3, Quaternion) |
Transforms a vector by the given Quaternion rotation value.
| |
| Unitize |
Normalizes a vector.
| |
| VectorAngle |
Compute the angle between two vectors.
This operation is commutative. |
| Name | Description | |
|---|---|---|
| Convert |
Converts to Rhino's Vector3d.
(Defined by ToRhino.) | |
| ConvertToFebVec3d | Overloaded.
Converts to Vec3d.
(Defined by ToFeb.) | |
| ConvertToFebVec3d(Boolean) | Overloaded.
Converts to Vec3d.
(Defined by ToFeb.) |