C# Class SolidworksAddinFramework.TriadManipulatorExtensions

Afficher le fichier Open project: Weingartner/SolidworksAddinFramework

Méthodes publiques

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

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

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

Project() public static méthode

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