Vector3d Class
A class that represents a vector in 3d space.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
public ref class Vector3d
This language is not supported or no code example is available.
This language is not supported or no code example is available.
|
Name
|
Description
|
|
Angle(Vector3d)
|
Computes the inner angle between this vector and another
|
|
Bisector(Vector3d)
|
Computes the vector that is the bisector of this and another vector.
The length of the result is undefined. If any of the two input vectors has zero
length, the result is the other input vector.
|
|
Cross(Vector3d)
|
|
|
DiffrentialAngle(Vector3d, Vector3d)
|
Returns the signed angle in range (-PI,PI) from this vector to vector v,
in the plane that has 'normal' as normal. The normal is needed because we dont
know which side of the plane defined by the vectors that is frontside.
'normal' does not need to be normalized.
|
|
DirectionalWith(Vector3d, double)
|
|
|
DistanceToXYPlane(double)
|
|
|
Dot(Vector3d)
|
Computes the dot product between this vector and another.
If the vectors are normalized this is the same as cosine of the smallest angle between vectors.
|
|
Equals(Vector3d, double)
|
|
|
Equals(object)
|
Determines whether the specified object is equal to the current object.
|
|
GetHashCode()
|
Serves as the default hash function.
|
|
GetRotated(double, Vector3d, bool)
|
Returns a copy of this vector rotated with `angle` radians over `axis`.
|
|
Interpolate(Vector3d, double)
|
|
|
Normalize(Vector3d)
|
|
|
Normalize()
|
Modifies the vector in-place to have unit length.
|
|
ParallelWith(Vector3d)
|
|
|
RotateX(double)
|
Rotates this vector in-place around x axis
|
|
RotateY(double)
|
Rotates this vector in-place around y axis
|
|
RotateZ(double)
|
Rotates this vector in-place around the z axis.
|
|
Set(double, double, double)
|
|
|
ToPoint()
|
|
|
ToString()
|
Creates a string representation of the vector suitable for debugging.
|
|
Transform(Matrix3d)
|
|
|
Transform(Quaternion3d)
|
|
|
TryGetNormalized(out Vector3d)
|
|
Top
|
Name
|
Description
|
|
x
|
The x component of the vector left public for fast access.
|
|
y
|
The y component of the vector left public for fast access.
|
|
z
|
The z component of the vector left public for fast access.
|
Top
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8