Class Vector3D
Assembly: cs.temp.dll.dll
Syntax
Constructors
Vector3D()
Declaration
Vector3D(Vector3D)
Declaration
public Vector3D(Vector3D v)
Parameters
Vector3D(Double, Double, Double)
Declaration
public Vector3D(double x, double y, double z)
Parameters
Vector3D(Double[])
Declaration
public Vector3D(double[] v)
Parameters
Type |
Name |
Description |
Double[] |
v |
|
Vector3D(Double[], Int32)
Declaration
public Vector3D(double[] v, int start)
Parameters
Vector3D(Int32, Int32, Int32)
Declaration
public Vector3D(int x, int y, int z)
Parameters
Vector3D(Int32[])
Declaration
Parameters
Type |
Name |
Description |
Int32[] |
v |
|
Vector3D(Int32[], Int32)
Declaration
public Vector3D(int[] v, int start)
Parameters
Vector3D(Single, Single, Single)
Declaration
public Vector3D(float x, float y, float z)
Parameters
Vector3D(Single[])
Declaration
public Vector3D(float[] v)
Parameters
Type |
Name |
Description |
Single[] |
v |
|
Vector3D(Single[], Int32)
Declaration
public Vector3D(float[] v, int start)
Parameters
Fields
AxisX
Declaration
public static readonly Vector3D AxisX
Field Value
AxisY
Declaration
public static readonly Vector3D AxisY
Field Value
AxisZ
Declaration
public static readonly Vector3D AxisZ
Field Value
Epsilon
Declaration
public static readonly Vector3D Epsilon
Field Value
MaxValue
Declaration
public static readonly Vector3D MaxValue
Field Value
MinValue
Declaration
public static readonly Vector3D MinValue
Field Value
Zero
Declaration
public static readonly Vector3D Zero
Field Value
Properties
IsZero
Declaration
public bool IsZero { get; }
Property Value
X
Declaration
public double X { get; set; }
Property Value
Y
Declaration
public double Y { get; set; }
Property Value
Z
Declaration
public double Z { get; set; }
Property Value
Methods
Clone()
Declaration
Returns
CrossProduct(Vector3D)
Declaration
public Vector3D CrossProduct(Vector3D b)
Parameters
Returns
Distance(Vector3D)
Declaration
public double Distance(Vector3D b)
Parameters
Returns
DotProduct(Point3D)
Declaration
public double DotProduct(Point3D b)
Parameters
Returns
DotProduct(Vector3D)
Declaration
public double DotProduct(Vector3D b)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
IsPerpendicular(Vector3D)
Declaration
public bool IsPerpendicular(Vector3D b)
Parameters
Returns
Length()
Declaration
Returns
Magnitude()
Declaration
public double Magnitude()
Returns
Max(Vector3D, Vector3D)
Declaration
public static Vector3D Max(Vector3D a, Vector3D b)
Parameters
Returns
Min(Vector3D, Vector3D)
Declaration
public static Vector3D Min(Vector3D a, Vector3D b)
Parameters
Returns
NearestAxis()
Declaration
public Vector3D NearestAxis()
Returns
Normalize()
Declaration
public Vector3D Normalize()
Returns
Reflect(Vector3D)
Declaration
public Vector3D Reflect(Vector3D normal)
Parameters
Returns
Rotate(Vector3D, Double)
Declaration
public Vector3D Rotate(Vector3D axis, double angle)
Parameters
Returns
Round()
Declaration
Returns
ToArray()
Declaration
public double[] ToArray()
Returns
ToPoint()
Declaration
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Addition(Vector3D, Vector3D)
Declaration
public static Vector3D operator +(Vector3D a, Vector3D b)
Parameters
Returns
Division(Vector3D, Double)
Declaration
public static Vector3D operator /(Vector3D a, double b)
Parameters
Returns
Division(Vector3D, Int32)
Declaration
public static Vector3D operator /(Vector3D a, int b)
Parameters
Returns
Division(Vector3D, Single)
Declaration
public static Vector3D operator /(Vector3D a, float b)
Parameters
Returns
Equality(Vector3D, Vector3D)
Declaration
public static bool operator ==(Vector3D a, Vector3D b)
Parameters
Returns
GreaterThan(Vector3D, Vector3D)
Declaration
public static bool operator>(Vector3D a, Vector3D b)
Parameters
Returns
GreaterThanOrEqual(Vector3D, Vector3D)
Declaration
public static bool operator >=(Vector3D a, Vector3D b)
Parameters
Returns
Inequality(Vector3D, Vector3D)
Declaration
public static bool operator !=(Vector3D a, Vector3D b)
Parameters
Returns
LessThan(Vector3D, Vector3D)
Declaration
public static bool operator <(Vector3D a, Vector3D b)
Parameters
Returns
LessThanOrEqual(Vector3D, Vector3D)
Declaration
public static bool operator <=(Vector3D a, Vector3D b)
Parameters
Returns
Multiply(Vector3D, Point3D)
Declaration
public static double operator *(Vector3D a, Point3D b)
Parameters
Returns
Multiply(Vector3D, Vector3D)
Declaration
public static double operator *(Vector3D a, Vector3D b)
Parameters
Returns
Multiply(Vector3D, Double)
Declaration
public static Vector3D operator *(Vector3D a, double b)
Parameters
Returns
Multiply(Vector3D, Int32)
Declaration
public static Vector3D operator *(Vector3D a, int b)
Parameters
Returns
Multiply(Vector3D, Single)
Declaration
public static Vector3D operator *(Vector3D a, float b)
Parameters
Returns
Multiply(Double, Vector3D)
Declaration
public static Vector3D operator *(double a, Vector3D b)
Parameters
Returns
Multiply(Int32, Vector3D)
Declaration
public static Vector3D operator *(int a, Vector3D b)
Parameters
Returns
Multiply(Single, Vector3D)
Declaration
public static Vector3D operator *(float a, Vector3D b)
Parameters
Returns
Subtraction(Vector3D, Vector3D)
Declaration
public static Vector3D operator -(Vector3D a, Vector3D b)
Parameters
Returns
UnaryNegation(Vector3D)
Declaration
public static Vector3D operator -(Vector3D a)
Parameters
Returns
UnaryPlus(Vector3D)
Declaration
public static Vector3D operator +(Vector3D a)
Parameters
Returns