Struct Vector3D

Represents a vector in 3D space

Namespace: TSD.API.Remoting.Geometry
Assembly: TSD.API.Remoting.dll
Syntax
public readonly struct Vector3D

Constructors

Name Description
Vector3D(double, double, double)

Creates a new instance of Vector3D struct

Properties

Name Description
X

Gets the X component

Y

Gets the Y component

Z

Gets the Z component

Operators

Name Description
operator +(Vector3D, Vector3D)

Returns the sum of the given vectors

implicit operator (double, double, double)(Vector3D)

Decomposes the vector to individual components

operator *(double, Vector3D)

Returns the result of scalar multiplication of the given number and a vector

operator *(Vector3D, double)

Returns the result of scalar multiplication of the given vector and a number

operator *(Vector3D, Vector3D)

Returns the cross product of the given vectors

operator -(Vector3D, Vector3D)

Returns the difference of the given vectors

operator -(Vector3D)

Returns the inverse of the given vector

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next