C# Class SolidworksAddinFramework.TriadManipulatorExtensions

显示文件 Open project: Weingartner/SolidworksAddinFramework

Public Methods

Method Description
CreateTranslationTransform ( this m, swTriadManipulatorControlPoints_e h, IMathUtility math, double value ) : MathTransform
Project ( this m, swTriadManipulatorControlPoints_e h, IMathPoint p, IMathVector cameraVector, IMathUtility mathP ) : MathVector

Private Methods

Method Description
ClosestPointBetweenLines ( IMathPoint pOrigin, IMathVector pVector, IMathPoint qOrigin, IMathVector qVector, double &pT, double &qT ) : bool

http://geomalgorithms.com/a07-_distance.html

ClosestPointOnAxis ( ITriadManipulator m, IMathPoint p, IMathVector cameraVector, MathVector axis ) : MathVector
Destructure ( MathPoint p, double &x, double &y, double &z ) : void
LinePlaneIntersection ( MathPoint origin, MathVector axis0, MathVector axis1, MathPoint lineOrigin, MathVector lineVector ) : double
ProjectRelative ( IMathPoint origin, IMathVector axis, IMathPoint point ) : MathVector

Method Details

CreateTranslationTransform() public static method

public static CreateTranslationTransform ( this m, swTriadManipulatorControlPoints_e h, IMathUtility math, double value ) : MathTransform
m this
h swTriadManipulatorControlPoints_e
math IMathUtility
value double
return MathTransform

Project() public static method

public static Project ( this m, swTriadManipulatorControlPoints_e h, IMathPoint p, IMathVector cameraVector, IMathUtility mathP ) : MathVector
m this
h swTriadManipulatorControlPoints_e
p IMathPoint
cameraVector IMathVector
mathP IMathUtility
return MathVector