public static IMathPoint TranslateByVector(this IMathUtility m, IMathPoint p, IMathVector v) { var transformation = GetTranslationFromVector(m, v); return(p.MultiplyTransformTs(transformation)); }
public static IMathPoint TranslateByVector(this IMathUtility m, IMathPoint p, IMathVector v) { var transformation = GetTranslationFromVector(m, v); return p.MultiplyTransformTs(transformation); }
public static IMathPoint RotateByAngle(this IMathUtility m, IMathPoint p, IMathVector axis, double angle) { var transformation = GetRotationFromAxisAndAngle(m, axis, angle); return(p.MultiplyTransformTs(transformation)); }
public static IMathPoint RotateByAngle(this IMathUtility m, IMathPoint p, IMathVector axis, double angle) { var transformation = GetRotationFromAxisAndAngle(m, axis, angle); return p.MultiplyTransformTs(transformation); }