C# Class SolidworksAddinFramework.MathVectorExtensions

Afficher le fichier Open project: Weingartner/SolidworksAddinFramework

Méthodes publiques

Méthode 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 méthode

public static AlphaBend ( this a, IMathVector b, double alpha ) : MathVector
a this
b IMathVector
alpha double
Résultat MathVector

AngleBetweenVectors() public static méthode

public static AngleBetweenVectors ( this v0, IMathVector v1 ) : double
v0 this
v1 IMathVector
Résultat double

Cross() public static méthode

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
Résultat MathNet.Numerics.LinearAlgebra.Double.DenseVector

Cross() public static méthode

public static Cross ( this math, double a, double b ) : double[]
math this
a double
b double
Résultat double[]

CrossTs() public static méthode

public static CrossTs ( this a, IMathVector b ) : MathVector
a this
b IMathVector
Résultat MathVector

LengthOfProjectionXY() public static méthode

public static LengthOfProjectionXY ( this vector ) : double
vector this
Résultat double

MultiplyTransformTs() public static méthode

public static MultiplyTransformTs ( this v, IMathTransform t ) : MathVector
v this
t IMathTransform
Résultat MathVector

Project() public static méthode

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
Résultat double

ScaleTs() public static méthode

public static ScaleTs ( this a, double b ) : MathVector
a this
b double
Résultat MathVector