C# Class SolidworksAddinFramework.Geometry.Matrix4x4Extensions

Exibir arquivo Open project: Weingartner/SolidworksAddinFramework

Public Methods

Method Description
CreateFromAxisAngleOrigin ( PointDirection3 p, double angle ) : Matrix4x4
CreateFromEdgeAngleOrigin ( Edge3 p, double angle ) : Matrix4x4
ExtractRotationPart ( this m ) : Matrix4x4
InvertUnsafe ( this m ) : Matrix4x4

A fluent matrix inversion. Will fail with an exception if the matrix is not invertable. Use only when you are sure you have an invertable matrix;

ToSwTransform ( this m, IMathUtility math = null ) : MathTransform

Method Details

CreateFromAxisAngleOrigin() public static method

public static CreateFromAxisAngleOrigin ( PointDirection3 p, double angle ) : Matrix4x4
p PointDirection3
angle double
return Matrix4x4

CreateFromEdgeAngleOrigin() public static method

public static CreateFromEdgeAngleOrigin ( Edge3 p, double angle ) : Matrix4x4
p Edge3
angle double
return Matrix4x4

ExtractRotationPart() public static method

public static ExtractRotationPart ( this m ) : Matrix4x4
m this
return Matrix4x4

InvertUnsafe() public static method

A fluent matrix inversion. Will fail with an exception if the matrix is not invertable. Use only when you are sure you have an invertable matrix;
public static InvertUnsafe ( this m ) : Matrix4x4
m this
return Matrix4x4

ToSwTransform() public static method

public static ToSwTransform ( this m, IMathUtility math = null ) : MathTransform
m this
math IMathUtility
return MathTransform