C# Class SolidworksAddinFramework.MathVectorExtensions

Mostra file Open project: Weingartner/SolidworksAddinFramework

Public Methods

Method Description
AlphaBend ( this a, IMathVector b, double alpha ) : MathVector
AngleBetweenVectors ( this v0, IMathVector v1 ) : double
Cross ( this left, MathNet.Numerics.LinearAlgebra.Double right ) : MathNet.Numerics.LinearAlgebra.Double.DenseVector

Cross product for 3D vectors http://stackoverflow.com/a/20015626/158285

Cross ( this math, double a, double b ) : double[]
CrossTs ( this a, IMathVector b ) : MathVector
LengthOfProjectionXY ( this vector ) : double
MultiplyTransformTs ( this v, IMathTransform t ) : MathVector
Project ( this a, IMathVector b ) : double

gives the multiplier for b which would be the projection of a on b

ScaleTs ( this a, double b ) : MathVector

Method Details

AlphaBend() public static method

public static AlphaBend ( this a, IMathVector b, double alpha ) : MathVector
a this
b IMathVector
alpha double
return MathVector

AngleBetweenVectors() public static method

public static AngleBetweenVectors ( this v0, IMathVector v1 ) : double
v0 this
v1 IMathVector
return double

Cross() public static method

Cross product for 3D vectors http://stackoverflow.com/a/20015626/158285
public static Cross ( this left, MathNet.Numerics.LinearAlgebra.Double right ) : MathNet.Numerics.LinearAlgebra.Double.DenseVector
left this
right MathNet.Numerics.LinearAlgebra.Double
return MathNet.Numerics.LinearAlgebra.Double.DenseVector

Cross() public static method

public static Cross ( this math, double a, double b ) : double[]
math this
a double
b double
return double[]

CrossTs() public static method

public static CrossTs ( this a, IMathVector b ) : MathVector
a this
b IMathVector
return MathVector

LengthOfProjectionXY() public static method

public static LengthOfProjectionXY ( this vector ) : double
vector this
return double

MultiplyTransformTs() public static method

public static MultiplyTransformTs ( this v, IMathTransform t ) : MathVector
v this
t IMathTransform
return MathVector

Project() public static method

gives the multiplier for b which would be the projection of a on b
public static Project ( this a, IMathVector b ) : double
a this
b IMathVector
return double

ScaleTs() public static method

public static ScaleTs ( this a, double b ) : MathVector
a this
b double
return MathVector