Operators_T_Rhino_Geometry_Vector3f - mcneel/rhinocommon-api-docs GitHub Wiki

Vector3f Operators and Type Conversions

The Vector3f type exposes the following members.

Operators

 

Name Description
Public operatorStatic member Addition(Point3f, Vector3f) Sums up a point and a vector, and returns a new point.
Public operatorStatic member Addition(Vector3f, Vector3f) Sums up two vectors.
Public operatorStatic member Division(Vector3f, Double) Divides a Vector3f by a number, having the effect of shrinking it, t times.
Public operatorStatic member Division(Vector3f, Single) Divides a Vector3f by a number, having the effect of shrinking it, t times.
Public operatorStatic member Equality Determines whether two vectors have equal values.
Public operatorStatic member Explicit(Vector3d to Vector3f) Converts a double-precision vector in a single-precision vector. Needs explicit casting to help retain precision.
Public operatorStatic member GreaterThan Determines whether the first specified vector comes after (has superior sorting value than) the second vector. Components evaluation priority is first X, then Y, then Z.
Public operatorStatic member GreaterThanOrEqual Determines whether the first specified vector comes after (has superior sorting value than) the second vector, or it is equal to it. Components evaluation priority is first X, then Y, then Z.
Public operatorStatic member Inequality Determines whether two vectors have different values.
Public operatorStatic member LessThan Determines whether the first specified vector comes before (has inferior sorting value than) the second vector. Components evaluation priority is first X, then Y, then Z.
Public operatorStatic member LessThanOrEqual Determines whether the first specified vector comes before (has inferior sorting value than) the second vector, or it is equal to it. Components evaluation priority is first X, then Y, then Z.
Public operatorStatic member Multiply(Single, Vector3f) Multiplies a vector by a number, having the effect of scaling it.
Public operatorStatic member Multiply(Vector3f, Vector3f) Multiplies two Vector3f together, returning the dot (internal) product of the two. This is not the cross product.
Public operatorStatic member Multiply(Vector3f, Single) Multiplies a vector by a number, having the effect of scaling it.
Public operatorStatic member Subtraction Subtracts the second vector from the first one.
Public operatorStatic member UnaryNegation Computes the opposite vector.
  Back to Top

See Also

Reference

Vector3f Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️