![]() |
Vector3 Structure |
Namespace: Karamba.Geometry
The Vector3 type exposes the following members.
Name | Description | |
---|---|---|
![]() | Vector3(Vec3d) |
transform C++-vector into C#-vector
|
![]() | Vector3(Point3) |
Create vector from point.
|
![]() | Vector3(Vector3) |
Create vector from vector.
|
![]() | Vector3(Double, Double, Double) |
Create vector.
|
Name | Description | |
---|---|---|
![]() | IsZero |
Determine whether this vector is the zero vector.
|
![]() | Item |
Gets or sets a vector component at the given index.
|
![]() | Length |
Get length of vector.
|
![]() | SquaredLength |
Get length of vector.
|
![]() | SquareLength |
Get squared length of vector.
|
![]() | Unitized |
Get normalized vector.
|
![]() ![]() | UnitX |
Get x-unit vector (1, 0, 0).
|
![]() ![]() | UnitY |
Get y-unit vector (0, 1, 0).
|
![]() ![]() | UnitZ |
Get z-unit vector (0, 0, 1).
|
![]() | X |
X coordinate.
|
![]() ![]() | XAxis |
Gets the value of the vector with components 1,0,0.
|
![]() | Y |
Y coordinate.
|
![]() ![]() | YAxis |
Gets the value of the vector with components 0,1,0.
|
![]() | Z |
Z coordinate.
|
![]() ![]() | ZAxis |
Gets the value of the vector with components 0,0,1.
|
![]() ![]() | Zero |
Get zero vector.
|
Name | Description | |
---|---|---|
![]() | CompareTo |
compares this to other vector based on the distance to the origin
|
![]() ![]() | Cross |
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
|
![]() | GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsTiny |
Determine whether the vector is small.
|
![]() | MakePerpendicularTo |
Makes this vector perpendicular to the given vector.
Result is not unitized.
|
![]() ![]() | meanSquaredLength |
return 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 |
rotate vector by an angle about a given axis
|
![]() ![]() | ScaleVectors |
scale the vectors in a list by a given factor and return the new list
|
![]() | ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString.) |
![]() | Transform(Transform3) |
Transform vector.
|
![]() ![]() | Transform(Vector3, Quaternion) |
Transforms a vector by the given Quaternion rotation value.
|
![]() | Unitize |
Normalize vector.
|
![]() ![]() | VectorAngle |
Compute the angle between two vectors.
This operation is commutative. |
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Add vector.
|
![]() ![]() | Division |
Divide vector by constant.
|
![]() ![]() | Equality |
Compare vectors.
|
![]() ![]() | ExclusiveOr |
Compute vector cross product.
|
![]() ![]() | GreaterThan |
Compare vectors.
|
![]() ![]() | Inequality |
Compare vectors.
|
![]() ![]() | LessThan |
Compare vectors.
|
![]() ![]() | Multiply(Double, Vector3) |
Multiply vector by constant.
|
![]() ![]() | Multiply(Vector3, Vector3) |
Multiply vectors (dot product).
|
![]() ![]() | Multiply(Vector3, Double) |
Multiply vector by constant.
|
![]() ![]() | Subtraction |
Subtract vector.
|
![]() ![]() | UnaryNegation |
Invert vector.
|
Name | Description | |
---|---|---|
![]() | Convert |
Convert karamba vector to rhino vector.
(Defined by GeometryExtensions.) |