C# Class SolidworksAddinFramework.MathPointExtensions

Mostra file Open project: Weingartner/SolidworksAddinFramework Class Usage Examples

Public Methods

Method Description
AddTs ( this a, IMathVector b ) : MathPoint
Angle2D ( this p ) : double

Returns the angle in the xy plane between 0 and 2 Pi

Average ( this points ) : double[]
Distance ( this a, MathNet.Numerics.LinearAlgebra.Double.DenseVector b ) : double
Equals ( this a, IMathPoint b, double tol ) : bool
Equals ( this a, IMathVector b, double tol ) : bool
Equals ( this a, System.Vector3 b, double tol ) : bool
MultiplyTransformTs ( this v, IMathTransform t ) : MathPoint
Project ( this point, IMathPoint origin, IMathVector axis ) : MathPoint
SubtractTs ( this a, IMathPoint b ) : MathVector
SubtractTs ( this a, IMathVector b ) : MathVector
ToVector3 ( this a ) : System.Vector3

Method Details

AddTs() public static method

public static AddTs ( this a, IMathVector b ) : MathPoint
a this
b IMathVector
return MathPoint

Angle2D() public static method

Returns the angle in the xy plane between 0 and 2 Pi
public static Angle2D ( this p ) : double
p this
return double

Average() public static method

public static Average ( this points ) : double[]
points this
return double[]

Distance() public static method

public static Distance ( this a, MathNet.Numerics.LinearAlgebra.Double.DenseVector b ) : double
a this
b MathNet.Numerics.LinearAlgebra.Double.DenseVector
return double

Equals() public static method

public static Equals ( this a, IMathPoint b, double tol ) : bool
a this
b IMathPoint
tol double
return bool

Equals() public static method

public static Equals ( this a, IMathVector b, double tol ) : bool
a this
b IMathVector
tol double
return bool

Equals() public static method

public static Equals ( this a, System.Vector3 b, double tol ) : bool
a this
b System.Vector3
tol double
return bool

MultiplyTransformTs() public static method

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

Project() public static method

public static Project ( this point, IMathPoint origin, IMathVector axis ) : MathPoint
point this
origin IMathPoint
axis IMathVector
return MathPoint

SubtractTs() public static method

public static SubtractTs ( this a, IMathPoint b ) : MathVector
a this
b IMathPoint
return MathVector

SubtractTs() public static method

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

ToVector3() public static method

public static ToVector3 ( this a ) : System.Vector3
a this
return System.Vector3